Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Amended settings to work with the defaults

  • Loading branch information...
commit 12f9bdc63fa695e3fc64639957dbac0f7c97123d 1 parent 165ffaf
@alfredo alfredo authored
View
9 settings.py
@@ -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
4 settings_local.py-dist
@@ -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://'
2  vendor-local/src/django-browserid
@@ -1 +1 @@
-Subproject commit ad6bd75655238857c58609ff258eb067f9bbcb96
+Subproject commit 0acbe3a778eb80b7d6a817497e6da748fe16810e
Please sign in to comment.
Something went wrong with that request. Please try again.