Re: Multiple form objects, only getting contents from last one

2008-01-23 Thread Tim
Well, it did in fact turn out to be a bug fixed in the SVN version (currently 7028), so everything is working great now. Thanks everyone for the help. Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Multiple form objects, only getting contents from last one

2008-01-23 Thread Ben Ford
I don't know if this is still the case but when I've tried to set field.choices before now that doesn't change the widget.choices. Try adding this: self.fields['answers'].widget.choices = [(i, a.statement) for i, a in enumerate(answers)] in fact I just checked and now the widge

Re: Multiple form objects, only getting contents from last one

2008-01-22 Thread Tim
On Jan 22, 5:22 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > What level of Django are you running?  I recall seeing reports of behavior > like this, but it has been fixed.  See for example: > > http://code.djangoproject.com/ticket/5665 Hm. It's 0.96, but I haven't tried it on a newer version j

Re: Multiple form objects, only getting contents from last one

2008-01-22 Thread Karen Tracey
On Jan 22, 2008 5:54 PM, Tim <[EMAIL PROTECTED]> wrote: > > > > On Jan 22, 3:45pm, Chris Brand <[EMAIL PROTECTED]> wrote: > > I'd start by looking at the HTML that results, particularly the "input > name" parts. From your symptoms, it sounds like you may have two (or more) > with the same name. >

Re: Multiple form objects, only getting contents from last one

2008-01-22 Thread Tim
Ugh... sorry about the formatting, BTW. I'll have to figure that out... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To uns

Re: Multiple form objects, only getting contents from last one

2008-01-22 Thread Tim
On Jan 22, 3:45 pm, Chris Brand <[EMAIL PROTECTED]> wrote: > I'd start by looking at the HTML that results, particularly the "input name" > parts. From your symptoms, it sounds like you may have two (or more) with the > same name. > > Chris Thanks, Chris. Here's some example output. As you c

RE: Multiple form objects, only getting contents from last one

2008-01-22 Thread Chris Brand
I'd start by looking at the HTML that results, particularly the "input name" parts. From your symptoms, it sounds like you may have two (or more) with the same name. Chris > -Original Message- > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Tim > Sent: 22