Answers for "how to http response redirect in previous page in django"

1

how to redirect to previous page in django

<form method="POST">
    {% csrf_token %}
    {{ form }}
    <input type="hidden" name="next" value="{{ request.path }}">
    <button type="submit">Let's Go</button>
</form>
Posted by: Guest on November-11-2020

Code answers related to "how to http response redirect in previous page in django"

Python Answers by Framework

Browse Popular Code Answers by Language