K
K
Kirill2020-05-03 23:55:06
Django
Kirill, 2020-05-03 23:55:06

How to implement multiple POST forms in a template?

I have 4 forms in my template with POST method. How can I distinguish in the views.py file in which of the forms the actions were performed? How to distinguish them generally speaking when a POST request is received on the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-05-04
@kustiktm_kirill

Send data to different methods using action.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question