On Tue, Aug 11, 2009 at 11:20 PM, Andrew Gwozdziewycz<[email protected]> wrote:
>
> On Tue, Aug 11, 2009 at 10:50 AM, Richard
> Davies<[email protected]> wrote:
>>
> I'm a fan of having more if tags, but am not a fan of having if tags that
> require me to remember all of the suffixes. Perhaps a smarter if tag in
> general would be better...

A smarter "if" tag has already been proposed as a v1.2 feature, and I
think there is some support for it. However, "smarter" doesn't mean
"exposing everything that Python can do" - it just means clarifying
the syntax for some of the simple cases. ==, < >, and "in" are
possible candidates. "startswith" sounds a bit too much like "logic in
the template" feature creep to me.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to