About the GET and POST Parameters in Django Forms

An HTML form can have an action with query parameters even if the method is "POST." If you set an empty string to the action, it will be treated as the current URL, including the query parameters.

In the Django view, you can retrieve the posted data by request.POST and the query parameters by request.GET as usual.

Tips and Tricks Web Design Development Django 4.2 Django 3.2 Django 2.2 HTML5