From 57d27e8bc69669983b8fd60da1c8e674a6c288b1 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 29 Jul 2016 00:43:41 -0500 Subject: [PATCH] added local settings file again --- dynamicweb/settings/local.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dynamicweb/settings/local.py 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' + )