Categories
Django: How to clear a form after a request?
The button <input type="reset" />handles clearing before the form is submitted. And how to clear the form by clicking on it after the request? GET in my case.
<input type="reset" />
Answer the question
In order to leave comments, you need to log in
return HttpResponseRedirect(request.path) at the end of the form processing execution.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question