diff options
| author | Tom Christie | 2012-11-05 01:48:19 -0800 |
|---|---|---|
| committer | Tom Christie | 2012-11-05 01:48:19 -0800 |
| commit | 584c111aabc6d11db5d16d850036269c663a2403 (patch) | |
| tree | 9e0e66fd68bac1bce0fca88469b4b59f30003179 /rest_framework/runtests/settings.py | |
| parent | 3e0319389a4e7714e0658bd38cb1e9fb01cf662d (diff) | |
| parent | 7df7dadccdba83d87fcc1ec6b5977fde26aab881 (diff) | |
| download | django-rest-framework-584c111aabc6d11db5d16d850036269c663a2403.tar.bz2 | |
Merge pull request #366 from jmagnusson/master
Support for Djangos caching framework, fixes #346
Diffstat (limited to 'rest_framework/runtests/settings.py')
| -rw-r--r-- | rest_framework/runtests/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rest_framework/runtests/settings.py b/rest_framework/runtests/settings.py index 951b1e72..b48f85e4 100644 --- a/rest_framework/runtests/settings.py +++ b/rest_framework/runtests/settings.py @@ -21,6 +21,12 @@ DATABASES = { } } +CACHES = { + 'default': { + 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', + } +} + # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. |
