Re: #4412 -- Optgroups in newforms select widgets

2007-09-02 Thread Tai Lee
Isn't having choices (with a value and display text) already combining presentation with the model? I don't see why having the model ignore the groupings would be any worse than having the model ignore the display text for each choice. I'd really like to see nested choices / optgroups allowed in

Re: #4412 -- Optgroups in newforms select widgets

2007-09-01 Thread Russell Keith-Magee
On 9/1/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-08-30 at 21:18 +0800, Russell Keith-Magee wrote: > > Hi all, > > > > I've been looking at ticket #4412: > > I was (and remain) -1 on letting it be part of models. Apologies - I misread your vote as 'prefer it wasn't in the

Re: #4412 -- Optgroups in newforms select widgets

2007-08-31 Thread Malcolm Tredinnick
On Thu, 2007-08-30 at 21:18 +0800, Russell Keith-Magee wrote: > Hi all, > > I've been looking at ticket #4412: > > http://code.djangoproject.com/ticket/4412 > > This ticket adds support for optgroups in selects for newforms. I've > uploaded an updated patch that works with trunk and newforms-ad

#4412 -- Optgroups in newforms select widgets

2007-08-30 Thread Russell Keith-Magee
Hi all, I've been looking at ticket #4412: http://code.djangoproject.com/ticket/4412 This ticket adds support for optgroups in selects for newforms. I've uploaded an updated patch that works with trunk and newforms-admin; I'm looking for feedback and/or approval to commit. This ticket has been