Ticket #4539: patch.diff

File patch.diff, 639 bytes (added by Tomáš Kopeček, 17 years ago)

patch

  • django/templatetags/i18n.py

     
    6161
    6262    def render(self, context):
    6363        context.push()
     64        tmp = {}
    6465        for var,val in self.extra_context.items():
    65             context[var] = val.resolve(context)
     66            tmp[var] = val.resolve(context)
     67        context.update(tmp)
    6668        singular = self.render_token_list(self.singular)
    6769        if self.plural and self.countervar and self.counter:
    6870            count = self.counter.resolve(context)
Back to Top