diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-11-02 21:24:52 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-11-02 21:24:52 +0200 |
commit | da1014421d0fffa146a6ee581a9c522c84b8c1fe (patch) | |
tree | 0522981df0ad95124b933834e4a32f89f474f9ca /servo/urls | |
parent | 9bf45810ca9729fac51d796651a310a07d7b92cf (diff) | |
download | Servo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.tar.gz Servo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.tar.bz2 Servo-da1014421d0fffa146a6ee581a9c522c84b8c1fe.zip |
Cleanup
Diffstat (limited to 'servo/urls')
-rw-r--r-- | servo/urls/order.py | 2 | ||||
-rw-r--r-- | servo/urls/repairs.py | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/servo/urls/order.py b/servo/urls/order.py index 8d17056..92df96f 100644 --- a/servo/urls/order.py +++ b/servo/urls/order.py @@ -4,7 +4,7 @@ from servo.views import note from django.conf.urls import url from servo.views.order import * from servo.views.invoices import create_invoice -from servo.views.gsx import create_repair, edit_repair, import_repair, delete_repair +from servo.views.gsx import create_repair, edit_repair, import_repair urlpatterns = [ diff --git a/servo/urls/repairs.py b/servo/urls/repairs.py index e87991b..e6f3819 100644 --- a/servo/urls/repairs.py +++ b/servo/urls/repairs.py @@ -2,14 +2,14 @@ from django.conf.urls import url -from servo.views.gsx import * +from servo.views import gsx urlpatterns = [ - 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"), + url(r'^(\d+)/delete/$', gsx.delete_repair, name="repairs-delete_repair"), + url(r'^(\d+)/parts/(\d+)/remove/$', gsx.remove_part, name="repairs-remove_part"), + url(r'^(\d+)/parts/(\d+)/add/$', gsx.add_part, name="repairs-add_part"), + url(r'^(\d+)/parts/(\d+)/update_sn/$', gsx.update_sn, name="repairs-update_sn"), + url(r'^(\d+)/copy/$', gsx.copy_repair, name="repairs-copy_repair"), + url(r'^(\d+)/check_parts/$', gsx.check_parts_warranty, name="repairs-check_parts"), ] |