From fde021d82085c4462236a3dc7a0aab05cb7a9676 Mon Sep 17 00:00:00 2001 From: Bojan Mihelac Date: Fri, 18 May 2012 15:42:51 +0200 Subject: [PATCH] More #29 fixing --- test_utils/templatetags/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_utils/templatetags/__init__.py b/test_utils/templatetags/__init__.py index a93bcf3..af18442 100644 --- a/test_utils/templatetags/__init__.py +++ b/test_utils/templatetags/__init__.py @@ -33,7 +33,7 @@ def __init__(self, template, context=None): self.tests = [] #Accept both template names and template strings try: - self.template_string, self.filepath = Loader.load_template_source(template.name) + self.template_string, self.filepath = Loader().load_template_source(template.name) except: self.template_string = template self.filepath = None