Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated deprecated locmem cache backend

  • Loading branch information...
commit 2029a6732d625ca69dfeafb1ed30cd5f7f93ab7f 1 parent e31ef99
@h3 authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 djangodukerecipe/settings/dev.py
View
7 djangodukerecipe/settings/dev.py
@@ -62,4 +62,9 @@
# 'disqus.middleware.profile.ProfileMiddleware',
#)
-CACHE_BACKEND = 'locmem://'
+CACHES = {
+ 'default': {
+ 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
+ 'LOCATION': 'CACHE+' + SECRET_KEY
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.