From 4aee4dd236eace068ea3bf7e9d8e24e5268bb491 Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 5 Jan 2008 17:08:07 -0800 Subject: subtle changes to settings files moved cache controls to local_settings --- local_settings.py.example | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'local_settings.py.example') diff --git a/local_settings.py.example b/local_settings.py.example index 031e3b6..965e07b 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -20,11 +20,12 @@ ADMINS = ( #DATABASE_HOST = '' #DATABASE_PORT = '' -## Enable/disable caching +## Define cache middleware settings CACHE = False - -## Define a cache backend CACHE_BACKEND = 'file:///tmp/ALdjangocache?timeout=900' +CACHE_MIDDLEWARE_SECONDS = 900 +CACHE_MIDDLEWARE_KEY_PREFIX = 'arch' +CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True ## location for saving dev pictures MEDIA_ROOT = '/var/www/archlinux/htdocs/img/devs/' -- cgit v1.2.3-24-g4f1b