We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fdcfb95 + 762cc6b commit e30cedfCopy full SHA for e30cedf
1 file changed
docs/conf.py
@@ -22,12 +22,6 @@
22
open(os.path.join('..', '__init__.py'), 'a')
23
sys.path.insert(0, os.path.abspath(os.path.join('..')))
24
sys.path.insert(0, os.path.abspath(os.path.join('..', 'controller')))
25
-# create local_settings.py for SECRET_KEY if necessary
26
-local_settings_path = os.path.abspath(
27
- os.path.join('..', 'controller', 'deis', 'local_settings.py'))
28
-if not os.path.exists(local_settings_path):
29
- with open(local_settings_path, 'w') as local_settings:
30
- local_settings.write("SECRET_KEY = 'DummySecretKey'\n")
31
# set up Django
32
os.environ['DJANGO_SETTINGS_MODULE'] = 'deis.settings'
33
from django.conf import settings # noqa
0 commit comments