public-health-ch/publichealth/settings/dev.py
2018-05-25 16:01:03 +02:00

34 lines
739 B
Python

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!!!'
# 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',
'NAME': 'publichealth-dev.sqlite3',
}
}
INSTALLED_APPS = INSTALLED_APPS + [
'wagtail.contrib.wagtailstyleguide',
]
try:
from .local import *
except ImportError:
pass