Kakar Nyori <nyorika...@gmail.com> writes:

> When doing so, only the last pform is gets saved. And the other two
> pforms are ignored. How do I get to save all the three forms of photo
> (pforms) accordingly?
>
> Or is there any other way around? Your help will be much appreciated!
> Thank you.

James is right that a formset is probably the best solution. If for some
reason you actually need three separate forms, you can use different
"prefix" arguments to the separate forms. See:

http://stackoverflow.com/questions/17421981/django-form-prefix-vs-form-set

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/87zj9hpvkn.fsf%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to