aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views/order.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-12-11 11:44:47 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-12-11 11:44:47 +0200
commit9b0079214a8f011dc1e4919ccd9fc7504a8b62e1 (patch)
tree751519b543cd766505f23759ab27b539ad3c8146 /servo/views/order.py
parentc19241dc3812c92b150376c3c8108c3359aaf488 (diff)
downloadServo-9b0079214a8f011dc1e4919ccd9fc7504a8b62e1.tar.gz
Servo-9b0079214a8f011dc1e4919ccd9fc7504a8b62e1.tar.bz2
Servo-9b0079214a8f011dc1e4919ccd9fc7504a8b62e1.zip
Cleanup
Diffstat (limited to 'servo/views/order.py')
-rw-r--r--servo/views/order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/order.py b/servo/views/order.py
index a12fec2..e9d5a51 100644
--- a/servo/views/order.py
+++ b/servo/views/order.py
@@ -211,7 +211,7 @@ def close(request, pk):
return redirect(order)
- data = {'order': order, 'action': request.path}
+ data = {'order': order, 'action': reverse(close, args=[pk])}
return render(request, "orders/close.html", data)