Skip to content

Commit e30cedf

Browse files
committed
Merge pull request #2947 from mboersma/docs-remove-key-hack
ref(docs): remove local_settings.py hack for secret key
2 parents fdcfb95 + 762cc6b commit e30cedf

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

docs/conf.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
open(os.path.join('..', '__init__.py'), 'a')
2323
sys.path.insert(0, os.path.abspath(os.path.join('..')))
2424
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")
3125
# set up Django
3226
os.environ['DJANGO_SETTINGS_MODULE'] = 'deis.settings'
3327
from django.conf import settings # noqa

0 commit comments

Comments
 (0)