Hi guys!

I've done a patch to the "with" tag be able to accept multiple
assignments without the need to nest many with tags, look the
following example:

{% with complicated.var.name1 as name1 and complicated.var.name2 as
name2 %}
{{ name1 }}, {{ name2 }}
{% endwith %}

I reopened the proper tag: http://code.djangoproject.com/ticket/3826
and attached the patch.
The people here talked about separate many assigments with a comma or
an and, I prefer the "and" because it was easy to implement, if you
like the comma I can change it.

Best regards to you!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to