Permalink
Browse files

Amended settings to work with the defaults

  • Loading branch information...
1 parent 165ffaf commit 12f9bdc63fa695e3fc64639957dbac0f7c97123d @alfredo alfredo committed May 10, 2012
Showing with 13 additions and 2 deletions.
  1. +8 −1 settings.py
  2. +4 −0 settings_local.py-dist
  3. +1 −1 vendor-local/src/django-browserid
View
@@ -335,7 +335,14 @@ def JINJA_CONFIG():
PUSH_CREDENTIALS = 'projects.utils.push_hub_credentials'
SOUTH_TESTS_MIGRATE = False
-CACHE_BACKEND = 'caching.backends.locmem://'
+
+CACHES = {
+ 'default': {
+ 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
+ 'LOCATION': '127.0.0.1:11211',
+ }
+}
+
# Don't cache count queries at all, because there's no way to invalidate them
CACHE_COUNT_TIMEOUT = None
View
@@ -36,3 +36,7 @@ MANAGERS = ADMINS
DEBUG = TEMPLATE_DEBUG = True
+
+# Install memcache and remove this to make djangobrowser id
+# https://github.com/mozilla/django-session-csrf#differences-from-django
+CACHE_BACKEND = 'caching.backends.locmem://'

0 comments on commit 12f9bdc

Please sign in to comment.