aboutsummaryrefslogtreecommitdiffstats
path: root/servo/urls/repairs.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-04 10:11:24 +0300
commit63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch)
tree555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/urls/repairs.py
downloadServo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2
Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip
Initial commit
First public commit
Diffstat (limited to 'servo/urls/repairs.py')
-rw-r--r--servo/urls/repairs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/servo/urls/repairs.py b/servo/urls/repairs.py
new file mode 100644
index 0000000..5cba1c6
--- /dev/null
+++ b/servo/urls/repairs.py
@@ -0,0 +1,11 @@
+from django.conf.urls import patterns, url
+
+urlpatterns = patterns(
+ "servo.views.gsx",
+ url(r'^(\d+)/delete/$', 'delete_repair', name="repairs-delete_repair"),
+ url(r'^(\d+)/parts/(\d+)/remove/$', 'remove_part', name="repairs-remove_part"),
+ url(r'^(\d+)/parts/(\d+)/add/$', 'add_part', name="repairs-add_part"),
+ url(r'^(\d+)/parts/(\d+)/update_sn/$', 'update_sn', name="repairs-update_sn"),
+ url(r'^(\d+)/copy/$', 'copy_repair', name="repairs-copy_repair"),
+ url(r'^(\d+)/check_parts/$', 'check_parts_warranty', name="repairs-check_parts"),
+)