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, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> 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 code here to decode. What you don't mention
> is what error you are seeing, or what is going wrong and what you might
> have expected to happen. You've left out the description of the problem
> that's occurring.
>
> At a guess, though, the problem is that question.options looks like it
> is a model instance and yet you keep referring to it as
> question.options(). Unless the model instance has a __call__ method,
> those tailing parentheses are going to be trouble.
>
> Regards,
> Malcolm
>
> --
> What if there were no hypothetical questions?http://www.pointy-stick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to