On 26 February 2012 06:12, Yo-Yo Ma <baxterstock...@gmail.com> wrote: > After Ned's message, I'm -0, because while I'm not fond of multi-line > tags, I cannot offer a good alternative when it comes to multi-line > "with" tags.
Let's not forget that until Django 1.3, {% with %} accepted only one parameter forcing you to write nested {% with %}'s. We had a discussion then and a more concise "x=..." syntax was chosen over "and x as ...". The syntax was also added to blocktrans. This was to ease those rare cases when you have to pass a few parameters to the {% with %} and/or make an include with changed context. A year after, It turns out the use cases aren't so rare anymore. Now, if your blocktrans contains 10 variables and all have more then 2 dots in them, then maybe there are other reasons that it looks ugly then lack of multi-line tags. -- Łukasz Rekucki -- 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 django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.