summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 20:13:46 +0100
committerDan McGee <dan@archlinux.org>2010-01-31 20:13:46 +0100
commitd94a09620a203d3e14c464ce92a0864ed7367409 (patch)
tree7b33ad1e6f4a8db04aa8f7bd3c543d93d50a2ea6
parente4f63d51b226b70342277a882b94fbc4770e93be (diff)
downloadarchweb-d94a09620a203d3e14c464ce92a0864ed7367409.tar.gz
archweb-d94a09620a203d3e14c464ce92a0864ed7367409.tar.xz
Update cache settings in local_settings example
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--local_settings.py.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/local_settings.py.example b/local_settings.py.example
index 521e0ae..9af4ebc 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -20,6 +20,11 @@ ADMINS = (
#DATABASE_HOST = ''
#DATABASE_PORT = ''
+## Define cache middleware settings
+CACHE_BACKEND = 'memcached://127.0.0.1:11211'
+CACHE_MIDDLEWARE_SECONDS = 900
+CACHE_MIDDLEWARE_KEY_PREFIX = 'arch'
+
## location for saving dev pictures
MEDIA_ROOT = '/var/www/archlinux/htdocs/img/'