mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-26 19:25:34 +02:00
14 lines
418 B
Python
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'),
|
|
]
|