Update settings.py

This commit is contained in:
Stephan Porada 2020-12-03 15:24:12 +01:00
parent 4fa855ec47
commit 0ea86f3a35

View File

@ -26,6 +26,9 @@ SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG') or False
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
# CHANGE the hosts according to your settings.
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14", "bundesdata.sporada.eu"]