Re: Generating a choices set from data

2006-10-30 Thread Jorge Gajon
On 10/27/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 10/26/06, Ice9 <[EMAIL PROTECTED]> wrote: > > > > Hi, I'm kinda new to django, and I ran into a problem > > I'm making a cutom form, and one of the field I want it to be > > SelectField. the problem is I dont want to hard code the

Re: Generating a choices set from data

2006-10-27 Thread Russell Keith-Magee
On 10/26/06, Ice9 <[EMAIL PROTECTED]> wrote: > > Hi, I'm kinda new to django, and I ran into a problem > I'm making a cutom form, and one of the field I want it to be > SelectField. the problem is I dont want to hard code the choices in, I > want to generate a set of choice I can use from the data

Generating a choices set from data

2006-10-27 Thread Ice9
Hi, I'm kinda new to django, and I ran into a problem I'm making a cutom form, and one of the field I want it to be SelectField. the problem is I dont want to hard code the choices in, I want to generate a set of choice I can use from the data i already have. For example, I have a lot of polls, an