Hi,
Voltron wrote:
> How does one set the values of an existing dict variable passed to the
> template?
>
> {% my_dict['foo'] = "new value" %}
Right, that doesn't work. You will either have to add a function to the
template that sets the key and the 'do' extension. But why would you
want to do that? That sounds like something that does not belong into a
template.
Regards,
Armin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---