Permalink
Browse files

Update test project settings to use newer Django 1.2+ template loader…

… syntax
  • Loading branch information...
1 parent d4b386c commit 5cd19ea7a80dd5c181ee5f1ac750c99d2c3c0206 @acdha acdha committed Mar 30, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 test_project/settings.py
@@ -56,11 +56,8 @@
SECRET_KEY = 'v!y*k!pa947m205&g*ih*a20651l=-gagc_$ntdjt9$_g85c=!'
# 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',
-)
+TEMPLATE_LOADERS = ('django.template.loaders.filesystem.Loader',
+ 'django.template.loaders.app_directories.Loader')
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',

0 comments on commit 5cd19ea

Please sign in to comment.