diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-06-10 00:37:35 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-06-10 00:37:35 -0400 |
commit | 6284b29b3e3b2fb40db77b05093fa4922ce090a5 (patch) | |
tree | 5c0fbf7920405f531a8ca34ae92bc4f39fd077ba | |
parent | 24c993aa382b0c98144915afced0284ea3d8ed39 (diff) | |
download | askbot-6284b29b3e3b2fb40db77b05093fa4922ce090a5.tar.gz askbot-6284b29b3e3b2fb40db77b05093fa4922ce090a5.tar.bz2 askbot-6284b29b3e3b2fb40db77b05093fa4922ce090a5.zip |
changed default caching scheme from dummy to locmem
-rwxr-xr-x | settings_local.py.dist | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist index 137ad6ec..3d02a024 100755 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -29,11 +29,10 @@ DATABASE_ENGINE = '' #mysql, etc DATABASE_HOST = '' DATABASE_PORT = '' -#set this value to 'dummy://' if you don't want to use cache, or set up your favourite caching mechanism +#set this value to 'locmem://' +#use memcached for production #see http://docs.djangoproject.com/en/1.1/topics/cache/ for details -#example (set local file system cache in a cache folder in the root of the askbot install): -#CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/') -CACHE_BACKEND = 'dummy://' +CACHE_BACKEND = 'locmem://' #If you use memcache you may want to uncomment the following line to enable memcached based sessions #SESSION_ENGINE = 'django.contrib.sessions.backends.cache_db' |