add memcached as cache backend
This commit is contained in:
parent
55a25b3bbd
commit
1a6278df0e
|
@ -19,6 +19,7 @@ Architecture: all
|
|||
Depends: ${misc:Depends},
|
||||
python-scrutiny (= ${binary:Version}),
|
||||
python-psycopg2,
|
||||
gunicorn
|
||||
gunicorn,
|
||||
memcached
|
||||
Recommends: nginx, postgresql
|
||||
Description: Tracker of installed modules
|
||||
|
|
|
@ -53,3 +53,10 @@ TIME_ZONE = 'Europe/Paris'
|
|||
# HTTPS Security
|
||||
# CSRF_COOKIE_SECURE = True
|
||||
# SESSION_COOKIE_SECURE = True
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'_BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||
'LOCATION': '127.0.0.1:11211',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue