Permalink
Browse files

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
  • Loading branch information...
1 parent bc6d7d2 commit 20e09ca817ecea7b20314481aa017809169f60e4 @freakboy3742 freakboy3742 committed Oct 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/debug.py
View
2 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'):

0 comments on commit 20e09ca

Please sign in to comment.