[Fixed]-Django, GET parameters keeped into the URL after a POST call

1👍

The problem is that you don’t have an action="" in your form tag which simply means that you want to post to the existing URL, including any querystring (ie. existing GET parameters).

Just add action="" to the form tag, such as:

<form method="POST" action="{% url 'insertForm' %}">

Leave a comment