#5969: Variable name resolution broken as of 6682?
-----------------------+----------------------------------------------------
Reporter: zgoda | Owner: nobody
Status: new | Component: Template system
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
-----------------------+----------------------------------------------------
The code that worked fine before [6682] now throws KeyError:
{{{
{% blocktrans count comment_count as counter %}1 comment{% plural %}{{
counter }} comments{% endblocktrans %}
}}}
{{{
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/template/__init__.py" in
render_node
822. result = node.render(context)
File "/usr/lib/python2.5/site-packages/django/templatetags/i18n.py" in
render
84. return result % data
KeyError at /
u'counter'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/5969>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---