Merge branch 'cart' of git.2li.ch:ibz/web_AI-5 into cart
This commit is contained in:
commit
1274f76b71
|
@ -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"/>
|
||||
|
|
|
@ -397,7 +397,7 @@ def checkout(request):
|
|||
|
||||
|
||||
def order(request):
|
||||
return render(request, 'webshop/orders.html',
|
||||
return render(request, 'webshop/order.html',
|
||||
{
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue