summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
commita27dca4b361b0d2f46a20f9ac2719ef811c093e0 (patch)
tree5f38e92243a02add2b1e0176585f17f8c4aef7d6 /example_project/settings.py
parent0cc64347e47a0c3117bb4514e6b966f651f552f4 (diff)
downloadIshtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.tar.bz2
Ishtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.zip
Colors and orders in short menu - cache mechanism (refs #1562)
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py4
1 files changed, 4 insertions, 0 deletions
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/'