Merge branch 'cart' of git.2li.ch:ibz/web_AI-5 into cart

This commit is contained in:
Andreas Zweili 2018-02-26 21:02:13 +01:00
commit 1274f76b71
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
</td>
</tr>
</table>
<form id="checkout_form" action="order/" method="post">
<form id="checkout_form" action="{% url 'order' %}" method="post">
{% csrf_token %}
{{ checkout_form.as_p }}
<input type="submit" value="Order" class="btn btn-success" role="button"/>

View File

@ -397,7 +397,7 @@ def checkout(request):
def order(request):
return render(request, 'webshop/orders.html',
return render(request, 'webshop/order.html',
{
})