Ticket #4539: patch.diff
File patch.diff, 639 bytes (added by , 17 years ago) |
---|
-
django/templatetags/i18n.py
61 61 62 62 def render(self, context): 63 63 context.push() 64 tmp = {} 64 65 for var,val in self.extra_context.items(): 65 context[var] = val.resolve(context) 66 tmp[var] = val.resolve(context) 67 context.update(tmp) 66 68 singular = self.render_token_list(self.singular) 67 69 if self.plural and self.countervar and self.counter: 68 70 count = self.counter.resolve(context)