Skip to content

Poop Code

  • Home
  • Linux

Python code snippet – How to redirect to previous page in django?

October 28, 2024October 27, 2024 by poopcode
<form method="POST">
    {% csrf_token %}
    {{ form }}
    <input type="hidden" name="next" value="{{ request.path }}">
    <button type="submit">Let's Go</button>
</form>
Categories Python
Python code snippet – How to add subtitle matplotlib?
Big Sorting – Hackerrank Challenge – C# Solution
© 2025 Poop Code • Built with GeneratePress