diff --git a/dynamicweb/settings/local.py b/dynamicweb/settings/local.py new file mode 100644 index 00000000..e8907acc --- /dev/null +++ b/dynamicweb/settings/local.py @@ -0,0 +1,22 @@ +from .base import * + +ALLOWED_HOSTS = [ + "*" + ] + +# DATABASES = { +# 'default': { +# 'ENGINE': 'django.db.backends.sqlite3', +# 'NAME': 'app.db', +# } +# } +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",)