Fix a redirection (closes #61)

This commit is contained in:
Raphael Michel
2015-05-28 21:51:47 +02:00
parent 50cf108a05
commit c1fce9dcbe

View File

@@ -49,7 +49,7 @@
{% endif %}
{% if event.presale_is_running or event.settings.show_items_outside_presale_period %}
<form method="post"
action="{% url "presale:event.cart.add" organizer=request.event.organizer.slug event=request.event.slug %}?next={{ request.path_info|urlencode }}">
action="{% url "presale:event.cart.add" organizer=request.event.organizer.slug event=request.event.slug %}?next={{ request.path|urlencode }}">
{% csrf_token %}
{% for tup in items_by_category %}
<section>
@@ -144,4 +144,4 @@
{% endif %}
</form>
{% endif %}
{% endblock %}
{% endblock %}