1/ use generic views : ProcessFormView by example
2/ use prefixes in your forms with there name (it's a param in form cctor)
3/ in your template, use the <form>{%for form in forms %}{% form.as_p %}{%endfor %}<button type='submit'/></form> if you put your forms into a list form forms
Good coding !
-- 2/ use prefixes in your forms with there name (it's a param in form cctor)
3/ in your template, use the <form>{%for form in forms %}{% form.as_p %}{%endfor %}<button type='submit'/></form> if you put your forms into a list form forms
Good coding !
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+unsubscribe@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/daaed196-1642-41f2-a324-b0f6d7dd704e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment