diff --git a/dynamicweb/settings/local.py b/dynamicweb/settings/local.py new file mode 100644 index 00000000..799df594 --- /dev/null +++ b/dynamicweb/settings/local.py @@ -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' + )