diff options
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/settings.py b/settings.py index 8203147..af9c18d 100644 --- a/settings.py +++ b/settings.py @@ -21,6 +21,10 @@ import django print("* importing troggle/settings.py") +# default value, then gets overwritten by real secrets +SECRET_KEY = "not-the-real-secret-key-a#vaeozn0---^fj!355qki*vj2" +from credentials import SECRET_KEY + # Note that this builds upon the django system installed # global settings in # django/conf/global_settings.py which is automatically loaded first. @@ -31,7 +35,7 @@ print("* importing troggle/settings.py") # Django settings for troggle project. -ALLOWED_HOSTS = ['expo.survex.com', '.survex.com', 'localhost', '127.0.0.1', '192.168.0.5' ] +ALLOWED_HOSTS = ['*', 'expo.survex.com', '.survex.com', 'localhost', '127.0.0.1', '192.168.0.5' ] ADMINS = ( # ('Your Name', 'your_email@domain.com'), @@ -103,8 +107,6 @@ LOGBOOK_PARSER_SETTINGS = { APPEND_SLASH = False SMART_APPEND_SLASH = True -# Make this unique, and don't share it with anybody. -SECRET_KEY = "not-the-real-secret-key-a#vaeozn0---^fj!355qki*vj2" LOGIN_REDIRECT_URL = '/' SECURE_CONTENT_TYPE_NOSNIFF = True |