From 03ccd8ad8c81f3bf719c7904d8ab76e280b1773b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 21 Jun 2010 00:20:42 -0500 Subject: Use the cached template loader Signed-off-by: Dan McGee --- settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings.py b/settings.py index f163d39c..fb2efcbd 100644 --- a/settings.py +++ b/settings.py @@ -63,6 +63,14 @@ '%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' -- cgit v1.2.3-54-g00ecf