Permalink
Browse files

+ fixed a bug in load_template_source where the template_loader param…

…eter was not being used.
  • Loading branch information...
1 parent 9a349fd commit 95cddcd16da4c04a308a8fe4fa7f74fd36396fae @johnboxall committed May 18, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 loaders.py
View
@@ -8,8 +8,7 @@ def load_template_source(template_name, template_dirs=None,
request = get_current_request()
test_template_name = request.ab.run(template_name)
- return default_template_loader(test_template_name,
- template_dirs=template_dirs)
+ return template_loader(test_template_name, template_dirs=template_dirs)
load_template_source.is_usable = True

0 comments on commit 95cddcd

Please sign in to comment.