Commit 86a3fc1b047d7a3430253a00545ef6082b322fb7
1 parent
d2281e66
Exists in
master
and in
13 other branches
Using memcached for caching
Showing
3 changed files
with
13 additions
and
0 deletions
Show diff stats
puppet/modules/colab/manifests/requirements.pp
requirements.txt
src/colab/custom_settings.py
| ... | ... | @@ -63,6 +63,13 @@ DATABASES = { |
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | +CACHES = { | |
| 67 | + 'default': { | |
| 68 | + 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', | |
| 69 | + 'LOCATION': '127.0.0.1:11211', | |
| 70 | + } | |
| 71 | +} | |
| 72 | + | |
| 66 | 73 | DATABASE_ROUTERS = ['colab.routers.TracRouter',] |
| 67 | 74 | |
| 68 | 75 | INSTALLED_APPS = INSTALLED_APPS + ( | ... | ... |