diff --git a/local_settings.py.example b/local_settings.py.example index 00aac3291e19f861fafff4a1c3fd2f5839917b70..db1a7d79232e73d062d2690bff1c3e3bafaf0b40 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -31,9 +31,15 @@ RELATE_BASE_URL = "http://YOUR/RELATE/SITE/DOMAIN" # properly if you enable this. (or a similar out-of-process cache # backend) # +# You must 'pip install pylibmc' to use this (which in turn may require +# installing 'libmemcached-dev'). +# +# Btw, do not be tempted to use 'MemcachedCache'--it's unmaintained and +# broken in Python 33, as of 2016-08-01. +# # CACHES = { # 'default': { -# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', +# 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', # 'LOCATION': '127.0.0.1:11211', # } # } diff --git a/requirements.txt b/requirements.txt index c06fef09fa1105900433bd6441a99443cfa191c7..97a25d4492fe6e7634d244e78c0148cde8a3fff4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -51,8 +51,8 @@ django-bower git+https://github.com/lambdalisue/django-codemirror-widget.git #django-codemirror-widget -# Optional, used for caching -python-memcached +# Optional, used for caching, requires 'libmemcached-dev' (Debian package name) +# pylibmc # For code isolation in code questions docker-py