network_inventory/inventory/urls.py
2020-01-11 17:54:38 +01:00

14 lines
418 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('computer/<int:pk>/', views.computer_detail_view,
name='computer'),
path('computers/all/', views.ComputersFilterView.as_view(),
name='all_computers'),
]