Re: Saving Multiple forms? or fields... confused.

2009-05-01 Thread tdelam
Hi Karen, Thanks a lot for such an elaborate answer. I took your advice and stepped back a few steps. I needed to plan it out better. What I was ultimately doing prior to this post was just trying to get it to save and then add the other features later, features that should really be required

Re: Saving Multiple forms? or fields... confused.

2009-04-30 Thread Karen Tracey
On Thu, Apr 30, 2009 at 10:09 AM, tdelam wrote: > > Hi Karen, > > Thanks for responding. > > Okay so, here is the new forms code: > > class TrueFalseForm(forms.Form): >def __init__(self, q, *args, **kwargs): >super(TrueFalseForm, self).__init__(*args,

Re: Saving Multiple forms? or fields... confused.

2009-04-30 Thread tdelam
Hi Karen, Thanks for responding. Okay so, here is the new forms code: class TrueFalseForm(forms.Form): def __init__(self, q, *args, **kwargs): super(TrueFalseForm, self).__init__(*args, **kwargs) self.fields[q.title] = forms.ModelChoiceField(

Re: Saving Multiple forms? or fields... confused.

2009-04-29 Thread Karen Tracey
On Wed, Apr 29, 2009 at 4:00 PM, tdelam wrote: > > Hi, > > I am building a small survey app, questions are added to a survey > through django-admin, I am building the form dynamically, when the > form is submitted I only get the first form saving, here is the code: >

Saving Multiple forms? or fields... confused.

2009-04-29 Thread tdelam
Hi, I am building a small survey app, questions are added to a survey through django-admin, I am building the form dynamically, when the form is submitted I only get the first form saving, here is the code: http://dpaste.com/hold/39401/ Does anyone have any tips on how I can get the other ones