fixed issue 1067
This commit is contained in:
@@ -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