Re: Enhance enclose tag template process

2006-12-02 Thread limodou
On 12/3/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 12/2/06, limodou <[EMAIL PROTECTED]> wrote: > > 1. The expression can be a python expression, so you don't need > > ifequal, ifnotequal, and the expression will be more flexiable. > > 2. It will support elif > > Personally, I'd be -1 on t

Re: Enhance enclose tag template process

2006-12-02 Thread James Bennett
On 12/2/06, limodou <[EMAIL PROTECTED]> wrote: > 1. The expression can be a python expression, so you don't need > ifequal, ifnotequal, and the expression will be more flexiable. > 2. It will support elif Personally, I'd be -1 on this; the template system is deliberately not meant to re-create th

Enhance enclose tag template process

2006-12-02 Thread limodou
I'v made a ticket at http://code.djangoproject.com/ticket/3090 But I hope someone can consider this advise is reasonable and accept my patch. What I want is mainly to create a new custom tag, pyif, how to use it? There is a example: {% load utiltags %} {% expr range(5) as count %} {% for i in co

Extending templates and question on development tools.

2006-12-02 Thread [EMAIL PROTECTED]
I posted this on the users list a few days ago and I am not getting much help so I was hoping someone here might be able to help. I would greatly appreciate any help and if at the very least can some of you provide some tools that you use to step through the code because then at least I might be

Re: Have a look at django.newforms

2006-12-02 Thread [EMAIL PROTECTED]
On Nov 30, 6:31 pm, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > The django.newforms library is getting more solid by the day, and I'm > using it for some personal and work projects. Real-world use has > helped me find and fix problems with it, and I'm pretty happy with how > things have turned