added local settings file again
This commit is contained in:
parent
4e07385949
commit
57d27e8bc6
1 changed files with 21 additions and 0 deletions
21
dynamicweb/settings/local.py
Normal file
21
dynamicweb/settings/local.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
from .base import *
|
||||||
|
REGISTRATION_MESSAGE['message'] = REGISTRATION_MESSAGE['message'].format(host='dynamicweb-development.ungleich.ch',slug='{slug}')
|
||||||
|
ALLOWED_HOSTS = [
|
||||||
|
"*"
|
||||||
|
]
|
||||||
|
|
||||||
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
CACHES = {
|
||||||
|
'default': {
|
||||||
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||||
|
'LOCATION': 'unique-snowflake'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
MIDDLEWARE_CLASSES+=("debug_toolbar.middleware.DebugToolbarMiddleware",)
|
||||||
|
|
||||||
|
INSTALLED_APPS+=(
|
||||||
|
'django_extensions',
|
||||||
|
'debug_toolbar'
|
||||||
|
)
|
Loading…
Reference in a new issue