add the url for the WarrantyCreateView

This commit is contained in:
Andreas Zweili 2020-05-01 16:59:19 +02:00
parent 49571ccf08
commit 98f3400f8e
1 changed files with 2 additions and 0 deletions

View File

@ -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'),
]