Fix login 'next' page redirect

This commit is contained in:
Livvy Mackintosh 2017-10-09 18:08:04 +01:00
parent 38e8800cf2
commit c0f7107517

View File

@ -13,7 +13,7 @@
<p class="lead">{% trans "Welcome!" %}</p>
</div>
{% bootstrap_messages %}
<form action="{% url 'auth_login' %}" method="post">
<form action="{% url 'auth_login' %}?next={{next}}" method="post">
{% csrf_token %}
{% antispam_fields %}
{{form|crispy}}