fix url for order
This commit is contained in:
parent
ffcf6e6ba5
commit
736c5d4ba3
|
@ -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"/>
|
||||
|
|
|
@ -395,7 +395,7 @@ def checkout(request):
|
|||
|
||||
|
||||
def order(request):
|
||||
return render(request, 'webshop/orders.html',
|
||||
return render(request, 'webshop/order.html',
|
||||
{
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue