|
|
@ -44,7 +44,9 @@ def get_secret(setting, secrets=secrets): |
|
|
|
SECRET_KEY = '*&7p9#_n$@^%0z49s+7jpy@+j1rw_hqh05knyd6y2*!0)r&b6h' |
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production! |
|
|
|
DEBUG = True |
|
|
|
DEBUG = False |
|
|
|
|
|
|
|
STATIC_ROOT = BASE_DIR / 'staticfiles' |
|
|
|
|
|
|
|
ALLOWED_HOSTS = ['*'] |
|
|
|
|
|
|
@ -59,14 +61,12 @@ INSTALLED_APPS = [ |
|
|
|
'django.contrib.sessions', |
|
|
|
'django.contrib.messages', |
|
|
|
'django.contrib.staticfiles', |
|
|
|
# 'django.contrib.sites', |
|
|
|
'formtools', |
|
|
|
] |
|
|
|
|
|
|
|
# SITE_ID = 1 # needed for contrib.sites |
|
|
|
|
|
|
|
MIDDLEWARE = [ |
|
|
|
'django.middleware.security.SecurityMiddleware', |
|
|
|
'whitenoise.middleware.WhiteNoiseMiddleware', |
|
|
|
'django.contrib.sessions.middleware.SessionMiddleware', |
|
|
|
'django.middleware.common.CommonMiddleware', |
|
|
|
'django.middleware.csrf.CsrfViewMiddleware', |
|
|
|