Thursday, September 29, 2011

Re: Help with forms (really struggling)

On Thu, Sep 29, 2011 at 3:16 PM, David <cthlogs@gmail.com> wrote:
> Thank you both for your assistance.
>
> When I try to use the following (which is my interpretation Tom of
> your modifications) I get this error:
>
> Cannot assign "u'1'": "Log.person" must be a "Person" instance.
>

So you can either fetch the Person instance from the id, or assign to
person_id rather than person.

Cheers

Tom

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment