Re: Qustion on changeset 3108

2006-06-26 Thread Adrian Holovaty
On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does this mean there might be a change of heart on the same sort of > thing for ifequals (Ticket #1209)? > http://code.djangoproject.com/ticket/1209 Nah, the {% ifequal %} syntax would be too weird with "and"s and "or"s embedded in there.

Qustion on changeset 3108

2006-06-26 Thread [EMAIL PROTECTED]
I was just reading the week in review when I noticed this. Changeset 3108: Added support for "and" in template "if" tags. This is something we'd always put off, saying you could just nest "if" statements, but it's a lot nicer to be able to use "and". Example: {% if foo and bar %}. Thanks, ckknight