add proper settings
This commit is contained in:
parent
21b02d3998
commit
8149d5723f
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user