diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-14 12:08:23 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-14 12:08:23 +0000 |
| commit | 44b9076bbed3e629230d9b77a8765e4c906036d1 (patch) | |
| tree | 057ae03486ed267863066af7f3e5a7a15fd52934 /django/conf/project_template | |
| parent | 5a235050b6ec6b7bd1cb0f42c765849d97ccd52b (diff) | |
Fixed #6262 -- Added a cached template loader, and modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/conf/project_template')
| -rw-r--r-- | django/conf/project_template/settings.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py index 69fb3683a1..b66120fb8f 100644 --- a/django/conf/project_template/settings.py +++ b/django/conf/project_template/settings.py @@ -52,9 +52,9 @@ SECRET_KEY = '' # List of callables 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.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', +# 'django.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( |
