Mercurial > public > bravenewsurf
comparison bns_website/settings/production.py @ 92:4dca838ae291
For production, use the cached template loader.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 29 Nov 2011 18:27:31 -0600 |
parents | 0e1f1e8db2a5 |
children | b6b072795990 |
comparison
equal
deleted
inserted
replaced
91:4f4e371a723c | 92:4dca838ae291 |
---|---|
11 'NAME': 'bravenewsurf', | 11 'NAME': 'bravenewsurf', |
12 'USER': SECRETS['DB_USER'], | 12 'USER': SECRETS['DB_USER'], |
13 'PASSWORD': SECRETS['DB_PASSWORD'], | 13 'PASSWORD': SECRETS['DB_PASSWORD'], |
14 }, | 14 }, |
15 } | 15 } |
16 | |
17 TEMPLATE_LOADERS = [ | |
18 ('django.template.loaders.cached.Loader', ( | |
19 'django.template.loaders.filesystem.Loader', | |
20 'django.template.loaders.app_directories.Loader', | |
21 )), | |
22 ] | |
16 | 23 |
17 CACHES = { | 24 CACHES = { |
18 'default': { | 25 'default': { |
19 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', | 26 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', |
20 'LOCATION': '127.0.0.1:11211', | 27 'LOCATION': '127.0.0.1:11211', |