On 8/17/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> >>> ind.render({})
> Traceback (most recent call last):
> [...]
> TemplateSyntaxError: Caught an exception while rendering: 'dict' object has
> no a
> ttribute 'push'
The render() method takes a template.Context object, not a dictionary.
You want this:
ind.render(template.Context())
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---