public-health-ch/publichealth/settings/dev.py

37 lines
775 B
Python
Raw Normal View History

from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
TEMPLATES[0]['OPTIONS']['debug'] = True
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'CHANGEME!!!'
2018-05-25 14:01:03 +00:00
# SECURITY WARNING: CAREFUL! your dev site is open to the world
ALLOWED_HOSTS = ['*']
INTERNAL_IPS = ('127.0.0.1', '10.0.2.2')
BASE_URL = 'http://localhost:8000'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
2016-12-23 12:42:34 +00:00
'NAME': 'publichealth-dev.sqlite3',
}
}
2018-11-12 17:54:25 +00:00
INSTALLED_APPS = [
'whitenoise.runserver_nostatic',
] + INSTALLED_APPS + [
2019-06-14 20:02:15 +00:00
'wagtail.contrib.styleguide',
2017-10-16 08:59:59 +00:00
]
try:
from .local import *
except ImportError:
pass