Added deployment settings to settings.py

This commit is contained in:
Ceferino Patino 2022-05-18 10:05:42 -05:00
commit 44bda77674
11 changed files with 283 additions and 150 deletions

View file

@ -29,6 +29,10 @@ SECRET_KEY = env_config.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
SECURE_SSL_REDIRECT = False
SESSION_COOKIE_SECURE = False
CSRF_COOKIE_SECURE = False
ALLOWED_HOSTS = [
'localhost',
'127.0.0.1'
@ -44,6 +48,8 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'formtools',
'housewars.apps.HousewarsConfig'
]