From a27dca4b361b0d2f46a20f9ac2719ef811c093e0 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 21 Jul 2014 19:21:27 +0200 Subject: Colors and orders in short menu - cache mechanism (refs #1562) --- example_project/settings.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 201750936..d276ef6bf 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -14,6 +14,10 @@ SQL_DEBUG = False IMAGE_MAX_SIZE = (1024, 768) THUMB_MAX_SIZE = (300, 300) +CACHE_SMALLTIMEOUT = 120 +CACHE_TIMEOUT = 3600 +CACHE_BACKEND = 'memcached://127.0.0.1:11211/' + ROOT_PATH = os.path.abspath(os.path.curdir) + os.path.sep STATIC_URL = '/static/' STATIC_ROOT = ROOT_PATH + 'static/' -- cgit v1.2.3