Ticket #15368: 15368-regression-context.diff
File 15368-regression-context.diff, 879 bytes (added by , 14 years ago) |
---|
-
django/template/context.py
89 89 90 90 def _new(self): 91 91 return self.__class__(autoescape=self.autoescape, 92 current_app=self.current_app, 93 use_l10n=self.use_l10n) 92 current_app=self.current_app) 94 93 95 94 def update(self, other_dict): 96 95 "Like dict.update(). Pushes an entire dictionary's keys and values onto the context." … … 170 169 171 170 def _new(self): 172 171 return self.__class__(request=HttpRequest(), 173 current_app=self.current_app, 174 use_l10n=self.use_l10n) 172 current_app=self.current_app)