network_inventory/licenses/urls.py

15 lines
472 B
Python
Raw Normal View History

2020-01-11 18:35:57 +01:00
from django.urls import path
2020-01-11 17:54:31 +01:00
from . import views
urlpatterns = [
2020-06-28 23:31:35 +02:00
path('customer/<int:pk>/licenses/', views.licenses_table_view,
name='licenses'),
path('create/license-with-computer/<int:pk>/',
2020-06-28 23:31:35 +02:00
views.LicenseWithComputerCreateView.as_view(),
name='license_with_computer_create'),
2020-06-28 23:59:50 +02:00
path('delete/license-with-computer/<int:pk>/',
views.LicenseWithComputerDeleteView.as_view(),
name='license_with_computer_delete'),
2020-01-11 17:54:31 +01:00
]