Ticket #15368: 15368-regression-context.diff

File 15368-regression-context.diff, 879 bytes (added by Timothée Peignier, 14 years ago)
  • django/template/context.py

     
    8989
    9090    def _new(self):
    9191        return self.__class__(autoescape=self.autoescape,
    92                               current_app=self.current_app,
    93                               use_l10n=self.use_l10n)
     92                              current_app=self.current_app)
    9493
    9594    def update(self, other_dict):
    9695        "Like dict.update(). Pushes an entire dictionary's keys and values onto the context."
     
    170169
    171170    def _new(self):
    172171        return self.__class__(request=HttpRequest(),
    173                               current_app=self.current_app,
    174                               use_l10n=self.use_l10n)
     172                              current_app=self.current_app)
Back to Top