diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-21 00:20:42 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-21 00:20:42 -0500 |
commit | 03ccd8ad8c81f3bf719c7904d8ab76e280b1773b (patch) | |
tree | d485d7a355e555104dcace0101dab05304791150 /settings.py | |
parent | 702531680825f97b48ec671fb844ee7036d1b968 (diff) |
Use the cached template loader
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/settings.py b/settings.py index f163d39c..fb2efcbd 100644 --- a/settings.py +++ b/settings.py @@ -63,6 +63,14 @@ TEMPLATE_DIRS = ( '%s/templates' % DEPLOY_PATH, ) +TEMPLATE_LOADERS = ( + ('django.template.loaders.cached.Loader', ( + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.eggs.Loader', + 'django.template.loaders.app_directories.Loader', + )), +) + # Set django's User stuff to use our profile model # format is app.model AUTH_PROFILE_MODULE = 'main.UserProfile' |