Wednesday, July 30, 2014

Re: simultaneously submit three forms on the same page

Please stop replying directly to me - I am subscribed to the list,
this is how we started talking, I do not need an additional copy in my

On Wed, Jul 30, 2014 at 10:29 AM, Devin Cky <> wrote:
> I tried it .. but it is only the first form ( {{ emet_form.as_p }} )
> that is saved..
> <form action="{%url 'formulaire.views.enregistrer'%}" method="post"> {%
> csrf_token %}
> {{ emet_form.as_p }}
> {{ des_form.as_p }}
> {{ fich_form.as_p }}
> <input type="submit" value="record" />
> </form>

So, why is it only the first form that is saved? What happens in your
view that causes only the first form to be saved?

Add debug logging and find out.



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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment