summaryrefslogtreecommitdiff
path: root/local_settings.py.example
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 13:13:46 -0600
committerDan McGee <dan@archlinux.org>2010-01-31 13:13:46 -0600
commitd94a09620a203d3e14c464ce92a0864ed7367409 (patch)
tree7b33ad1e6f4a8db04aa8f7bd3c543d93d50a2ea6 /local_settings.py.example
parente4f63d51b226b70342277a882b94fbc4770e93be (diff)
Update cache settings in local_settings example
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'local_settings.py.example')
-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 521e0ae2..9af4ebc8 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/'