add the url for the WarrantyCreateView
This commit is contained in:
parent
49571ccf08
commit
98f3400f8e
|
@ -18,5 +18,7 @@ urlpatterns = [
|
|||
path('update/device/<int:pk>/',
|
||||
views.DeviceUpdateView.as_view(),
|
||||
name='device_update'),
|
||||
path('device/<int:pk>/add/warranty/', views.WarrantyCreateView.as_view(),
|
||||
name='warranty_create'),
|
||||
path('warranties/', views.warranties_view, name='warranties'),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue