fixed issue 1067
This commit is contained in:
1 parent
28f914463b
commit
3f6fa941cb
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.0.9 (2012-10-04 20:17:03) dev
|
||||
Version 2.0.9 (2012-10-04 20:36:17) dev
|
||||
+1
-1
@@ -416,7 +416,7 @@ class TemplateParser(object):
|
||||
# Allow Views to include other views dynamically
|
||||
context = self.context
|
||||
if current and not "response" in context:
|
||||
context["response"] = current.response
|
||||
context["response"] = getattr(current,'response',None)
|
||||
|
||||
# Get the filename; filename looks like ``"template.html"``.
|
||||
# We need to eval to remove the quotes and get the string type.
|
||||
|
||||
Reference in new issue
Block a user