diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-11-03 09:25:22 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-11-03 09:25:22 +0200 |
commit | 920bda8b69d2f2c078d369fe25684c437c50e40f (patch) | |
tree | ce7886a78524d39c0a146045df91098cd914368c /servo/templates/orders | |
parent | 31ad3792ab44c7a1f3c66f54488b5e716c23990a (diff) | |
download | Servo-920bda8b69d2f2c078d369fe25684c437c50e40f.tar.gz Servo-920bda8b69d2f2c078d369fe25684c437c50e40f.tar.bz2 Servo-920bda8b69d2f2c078d369fe25684c437c50e40f.zip |
Use url name instead of view
Diffstat (limited to 'servo/templates/orders')
-rwxr-xr-x | servo/templates/orders/remove_product.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/templates/orders/remove_product.html b/servo/templates/orders/remove_product.html index e6d2966..3aacb2b 100755 --- a/servo/templates/orders/remove_product.html +++ b/servo/templates/orders/remove_product.html @@ -10,7 +10,7 @@ {% endblock body %} {% block footer %} -<form action="{% url 'servo.views.order.remove_product' order.id item.id %}" method="post"> +<form action="{% url 'orders-remove_product' order.id item.id %}" method="post"> {% csrf_token %} <button type="submit" class="btn btn-danger">{% trans "Delete" %}</button> </form> |