Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/CBWhiz/coffin
Browse files Browse the repository at this point in the history
  • Loading branch information
miracle2k committed Feb 8, 2012
2 parents aaea5d2 + 19586c0 commit cb417a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coffin/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def _get_loaders(self):
from coffin.template.loaders import jinja_loader_from_django_loader

from django.conf import settings
for loader in settings.TEMPLATE_LOADERS:
_loaders = getattr(settings, 'JINJA2_TEMPLATE_LOADERS', settings.TEMPLATE_LOADERS)
for loader in _loaders:
if isinstance(loader, basestring):
loader_obj = jinja_loader_from_django_loader(loader)
if loader_obj:
Expand Down

0 comments on commit cb417a8

Please sign in to comment.