diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-30 04:28:43 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-30 04:28:43 +0000 |
| commit | 20e09ca817ecea7b20314481aa017809169f60e4 (patch) | |
| tree | be787a16dc79532fba309fc13c94e37057b07723 | |
| parent | bc6d7d21023bfdd1dd73ac1ceb370fc18a4d241f (diff) | |
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
| -rw-r--r-- | django/template/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/debug.py b/django/template/debug.py index aa42b2b5ca..629739f720 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'): |
