Tuesday, September 27, 2011

Re: commit=false and user id

Hi Tom

I had been using ajax on the form and thus hadn't got my traceback. I
removed all ajax to get the traceback and it says:

'WSGIRequest' object has no attribute 'person'

Relating to:

f.person = request.person

I guess. Do I have to add a hidden field for the person id?

--
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