diff --git a/coinmanager/coinmanager/production_settings.py b/coinmanager/coinmanager/production_settings.py index be46589..33acd4f 100644 --- a/coinmanager/coinmanager/production_settings.py +++ b/coinmanager/coinmanager/production_settings.py @@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'w-^#jkm1ub6=)(xiy%6od%+j6pwr51o0sk9o(-mb$8b77#h$53' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['willipink.eu'] @@ -123,3 +123,6 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static/') SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True + +# Maintenance Mode +MAINTENANCE_MODE_READ_ONLY = True diff --git a/coinmanager/coinmanager/settings.py b/coinmanager/coinmanager/settings.py index 878b25e..4162108 100644 --- a/coinmanager/coinmanager/settings.py +++ b/coinmanager/coinmanager/settings.py @@ -121,4 +121,4 @@ USE_TZ = True STATIC_URL = '/static/' # Maintenance Mode -MAINTENANCE_MODE_READ_ONLY = True +MAINTENANCE_MODE_READ_ONLY = False