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
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,
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(
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:
>
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
5 matches
Mail list logo