I have to insert 2 forms in the same page:
1) Registration form
2) Login form
.
So if I use this in the views.py:
if requ
You can submit two forms on the same page... but the action that each form calls (i.e. the view function that will process each form) should probably be different. That way, you won't have to try and distinguish the forms.
e.g. On your page:
And so, in views.py, you'll have a login() view function and a registration() view function that will handle each of those forms.