2020-01-11 18:08:25 +01:00
|
|
|
from django.urls import path
|
2017-12-25 13:31:29 +01:00
|
|
|
|
2019-07-24 22:27:14 +02:00
|
|
|
from . import views
|
2017-12-25 13:31:29 +01:00
|
|
|
|
|
|
|
urlpatterns = [
|
2019-09-03 18:49:44 +02:00
|
|
|
path('customer/<int:pk>/computers/',
|
2019-08-02 13:05:42 +02:00
|
|
|
views.computers_table_view, name='computers'),
|
2019-09-03 18:49:44 +02:00
|
|
|
path('computer/<int:pk>/', views.computer_detail_view,
|
2019-08-04 20:44:19 +02:00
|
|
|
name='computer'),
|
2019-11-30 16:47:49 +01:00
|
|
|
path('computers/all/', views.ComputersFilterView.as_view(),
|
2019-12-29 23:54:27 +01:00
|
|
|
name='all_computers'),
|
2020-02-29 11:45:06 +01:00
|
|
|
path('customer/<int:pk>/create/computer/', views.ComputerCreateFromCustomerView.as_view(),
|
2020-02-26 21:56:53 +01:00
|
|
|
name='computer_create'),
|
2020-02-27 22:01:07 +01:00
|
|
|
path('update/computer/<int:pk>/', views.ComputerUpdateView.as_view(),
|
|
|
|
name='computer_update'),
|
2017-12-25 13:31:29 +01:00
|
|
|
]
|