Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 20e09ca817ecea7b20314481aa017809169f60e4 1 parent bc6d7d2
Russell Keith-Magee freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/template/debug.py
2  django/template/debug.py
View
@@ -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'):
Please sign in to comment.
Something went wrong with that request. Please try again.