Files
kursy-mirror/kursy/settings/dev.py

24 lines
612 B
Python

from .base import *
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "django-insecure-ik$z5b@u(6*35)7_#xejlfezm#kg9+2fxotuz-zwlk^bv7^#32"
# SECURITY WARNING: define the correct hosts in production!
ALLOWED_HOSTS = ["*"]
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
if DEBUG:
INSTALLED_APPS += ["django_browser_reload"]
MIDDLEWARE += [
"django_browser_reload.middleware.BrowserReloadMiddleware",
]
try:
from .local import *
except ImportError:
pass