Ticket #15572: fix-include-context-parameter.patch
File fix-include-context-parameter.patch, 625 bytes (added by , 14 years ago) |
---|
-
django/template/loader_tags.py
136 136 values = dict([(name, var.resolve(context)) for name, var 137 137 in self.extra_context.iteritems()]) 138 138 if self.isolated_context: 139 return template.render(Context(values ))139 return template.render(Context(values, autoescape=context.autoescape)) 140 140 context.update(values) 141 141 output = template.render(context) 142 142 context.pop()