diff --git a/coinmanager/coinmanager/settings.py b/coinmanager/coinmanager/settings.py index 7dbf9cc..1c45772 100644 --- a/coinmanager/coinmanager/settings.py +++ b/coinmanager/coinmanager/settings.py @@ -23,9 +23,9 @@ 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 = False +DEBUG = True -ALLOWED_HOSTS = ['willipink.eu'] +ALLOWED_HOSTS = ['localhost'] # Application definition @@ -119,7 +119,3 @@ USE_TZ = True # https://docs.djangoproject.com/en/3.0/howto/static-files/ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'static/') -SECURE_SSL_REDIRECT = True -SESSION_COOKIE_SECURE = True -CSRF_COOKIE_SECURE = True diff --git a/coinmanager/coinmanager/wsgi.py b/coinmanager/coinmanager/wsgi.py index 0082360..c695a7d 100644 --- a/coinmanager/coinmanager/wsgi.py +++ b/coinmanager/coinmanager/wsgi.py @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'coinmanager.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'coinmanager.settings_prod') application = get_wsgi_application()