# HG changeset patch # User Brian Neal # Date 1267589051 0 # Node ID e9c718065a25843be75483c1853be4b97e7dfddc # Parent a88041a849579880c87eb5a6797f61aa8b007037 Ticket #58; use Django 1.2's cached template loader. diff -r a88041a84957 -r e9c718065a25 gpp/settings.py --- a/gpp/settings.py Tue Mar 02 04:11:27 2010 +0000 +++ b/gpp/settings.py Wed Mar 03 04:04:11 2010 +0000 @@ -58,11 +58,11 @@ # Make this unique, and don't share it with anybody. SECRET_KEY = local_settings.SECRET_KEY -# List of callables that know how to import templates from various sources. +# List of Loader classes that know how to import templates from various sources. TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.load_template_source', - 'django.template.loaders.app_directories.load_template_source', -# 'django.template.loaders.eggs.load_template_source', + ('django.template.loaders.cached.Loader', ( + 'django.template.loaders.filesystem.Loader', + )), ) MIDDLEWARE_CLASSES = (