перенаправить на ту же страницу django
from django.http import HttpResponseRedirect
return HttpResponseRedirect(request.path_info)
Cruel Cicada
from django.http import HttpResponseRedirect
return HttpResponseRedirect(request.path_info)
<form method="POST">
{% csrf_token %}
{{ form }}
<input type="hidden" name="next" value="{{ request.path }}">
<button type="submit">Let's Go</button>
</form>