Skip to content

Commit

Permalink
Changed to class-based template loaders
Browse files Browse the repository at this point in the history
This improves capability with django_compressor and better for us anyways
  • Loading branch information
brosner committed Feb 24, 2012
1 parent 8376235 commit cf7ef39
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pinax/projects/account_project/settings.py
Expand Up @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions pinax/projects/basic_project/settings.py
Expand Up @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions pinax/projects/static_project/settings.py
Expand Up @@ -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 = [
Expand Down
4 changes: 2 additions & 2 deletions pinax/projects/zero_project/settings.py
Expand Up @@ -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 = [
Expand Down

0 comments on commit cf7ef39

Please sign in to comment.