network_inventory/inventory/urls.py
2020-01-10 00:01:06 +01:00

19 lines
674 B
Python

from django.urls import path, include
from . import views
urlpatterns = [
path('accounts/', include('django.contrib.auth.urls')),
path('customer/<int:pk>/computers/',
views.computers_table_view, name='computers'),
path('customer/<int:pk>/backups/', views.backups_table_view,
name='backups'),
path('computer/<int:pk>/', views.computer_detail_view,
name='computer'),
path('backup/<int:pk>/', views.backup_detail_view, name='backup'),
path('computers/all/', views.ComputersFilterView.as_view(),
name='all_computers'),
path('customer/<int:pk>/licenses/', views.licenses_table_view,
name='licenses'),
]