Author: russellm Date: 2010-10-29 23:28:43 -0500 (Fri, 29 Oct 2010) New Revision: 14397
Modified: django/trunk/django/template/debug.py Log: Fixed #14589 -- Corrected a copy-and-paste error introduced in r14395. Thanks to Adam McKerlie for the report. Modified: django/trunk/django/template/debug.py =================================================================== --- django/trunk/django/template/debug.py 2010-10-30 04:24:24 UTC (rev 14396) +++ django/trunk/django/template/debug.py 2010-10-30 04:28:43 UTC (rev 14397) @@ -88,7 +88,7 @@ def render(self, context): try: output = self.filter_expression.resolve(context) - output = localize(value, use_l10n=use_l10n) + output = localize(output, use_l10n=context.use_l10n) output = force_unicode(output) except TemplateSyntaxError, e: if not hasattr(e, 'source'): -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.