Permalink
Browse files

Changed to class-based template loaders

This improves capability with django_compressor and better for us anyways
  • Loading branch information...
1 parent 8376235 commit cf7ef3956aac47ce6e8bb45b17bdde2598de0c77 @brosner brosner committed Feb 24, 2012
@@ -96,8 +96,8 @@
# 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.filesystem.Loader",
+ "django.template.loaders.app_directories.Loader",
]
MIDDLEWARE_CLASSES = [
@@ -96,8 +96,8 @@
# 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.filesystem.Loader",
+ "django.template.loaders.app_directories.Loader",
]
MIDDLEWARE_CLASSES = [
@@ -88,8 +88,8 @@
# 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.filesystem.Loader",
+ "django.template.loaders.app_directories.Loader",
]
MIDDLEWARE_CLASSES = [
@@ -96,8 +96,8 @@
# 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.filesystem.Loader",
+ "django.template.loaders.app_directories.Loader",
]
MIDDLEWARE_CLASSES = [

0 comments on commit cf7ef39

Please sign in to comment.