On Jan 23, 1:47 am, Alex Koshelev <daeva...@gmail.com> wrote:
> You don't need to "call" form second time:
>
>         pForm = PersonForm(request.POST.copy(), instance=p)
>
> And pForm is the ready to use instance of form.
>
Thanks for that.  Would you know off hand where in the documentation I
could find that? I looked around but just couldn't find much on the
request.POST.copy function or it's use in modelforms.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to