add proper settings

This commit is contained in:
koksnuss 2020-06-19 13:38:12 +02:00
parent 21b02d3998
commit 8149d5723f
2 changed files with 5 additions and 2 deletions

View File

@ -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' SECRET_KEY = 'w-^#jkm1ub6=)(xiy%6od%+j6pwr51o0sk9o(-mb$8b77#h$53'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = ['willipink.eu'] ALLOWED_HOSTS = ['willipink.eu']
@ -123,3 +123,6 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
SECURE_SSL_REDIRECT = True SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True
# Maintenance Mode
MAINTENANCE_MODE_READ_ONLY = True

View File

@ -121,4 +121,4 @@ USE_TZ = True
STATIC_URL = '/static/' STATIC_URL = '/static/'
# Maintenance Mode # Maintenance Mode
MAINTENANCE_MODE_READ_ONLY = True MAINTENANCE_MODE_READ_ONLY = False