Re: Why does one work but not the other

2008-04-18 Thread phillc
Ahh that makes a ton of sense, that lead me to a solution each of my calls to self.question.options() returns a new instance of the model instance that i am referring to, and therefor i created two of them, assigned a value to one and saved the other. thanks a ton! =) On Apr 17, 11:19 pm, Mal

Re: Why does one work but not the other

2008-04-17 Thread Malcolm Tredinnick
On Thu, 2008-04-17 at 12:44 -0700, phillc wrote: > I was using new forms for one of my forms, and i wanted to save a > relation. > i came upon an interesting problem along the way. is there a limit in > python on the number of chained function calls or something? Hmm ...there's a fair bit of cod

Why does one work but not the other

2008-04-17 Thread phillc
I was using new forms for one of my forms, and i wanted to save a relation. i came upon an interesting problem along the way. is there a limit in python on the number of chained function calls or something? This did not work: class q_to_q_form(forms.Form): def __init__(self, columns, questio