diff options
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.py b/settings.py index 02c5244..ac74584 100644 --- a/settings.py +++ b/settings.py @@ -185,6 +185,13 @@ LOGGING = { } } +# disable caches by default for testing (enabled in production) +CACHES = { + 'default': { + 'BACKEND': 'django.core.cache.backends.dummy.DummyCache', + } +} + import django if django.VERSION < (1, 6): # old django needs a hack to not send emails for ALLOWED_HOSTS violations |