Multiple forms on one page
For example开发者_如何学Python if i have 3 forms on one page, how can i check in my view function which form was posted?
form1 = FormClass1
form2 = FormClass2
form3 = FormClass3
All of them will be posted unless you put them in separate form tags with separate submit buttons.
精彩评论