From 20e09ca817ecea7b20314481aa017809169f60e4 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 30 Oct 2010 04:28:43 +0000 Subject: [PATCH] Fixed #14589 -- Corrected a copy-and-paste error introduced in r14395. Thanks to Adam McKerlie for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14397 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/template/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/template/debug.py b/django/template/debug.py index aa42b2b5ca7..629739f7205 100644 --- a/django/template/debug.py +++ b/django/template/debug.py @@ -88,7 +88,7 @@ class DebugVariableNode(VariableNode): 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'):