Skip to content
Advertisement

How to Get all post data from a request in Django?

Is there any way get all the form names from a request in Django ?

JavaScript

Html request

JavaScript

in the above I can get only from the name I know, what I need is to get all names of the django request and later parse it and get data.

Advertisement

Answer

Try use this:

JavaScript

But if you need print a dynamic POST data, for example send the slug of many products, (i made it 2 days ago “April 22, 2018”) you need try this:

JavaScript
Advertisement