diff options
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"), ] |