RE: form select box how to (help needed)

2011-02-16 Thread Chris Matthews
Of Bobby Roberts Sent: 16 February 2011 15:14 To: Django users Subject: Re: form select box how to (help needed) i have no idea what this means is there an example anywhere? On Feb 16, 12:43 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Tue, 2011-02-15 at 19:05 -0800, Bobb

Re: form select box how to (help needed)

2011-02-16 Thread Bobby Roberts
i have no idea what this means is there an example anywhere? On Feb 16, 12:43 am, Kenneth Gonsalves wrote: > On Tue, 2011-02-15 at 19:05 -0800, Bobby Roberts wrote: > > I can't load it through the "CHOICES" parameter in my forms field... > > how can I do this? > >

Re: form select box how to (help needed)

2011-02-15 Thread Kenneth Gonsalves
On Tue, 2011-02-15 at 19:05 -0800, Bobby Roberts wrote: > I can't load it through the "CHOICES" parameter in my forms field... > how can I do this? override __init__ in your form and populate there -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ --

form select box how to (help needed)

2011-02-15 Thread Bobby Roberts
I've got several select boxes in a user profile that the we can manipulate in /admin. One of these select boxes is called "locations" and has locations to which you can assign a user. for explanation, let's say that that the select box is populated like such: 1,location1 2,location2