network_inventory/inventory/urls.py

14 lines
418 B
Python
Raw Normal View History

2019-08-25 22:35:03 +02:00
from django.urls import path, include
2017-12-25 13:31:29 +01:00
2019-07-24 22:27:14 +02:00
from . import views
2017-12-25 13:31:29 +01:00
urlpatterns = [
2019-08-25 22:35:03 +02:00
path('accounts/', include('django.contrib.auth.urls')),
path('customer/<int:pk>/computers/',
2019-08-02 13:05:42 +02:00
views.computers_table_view, name='computers'),
path('computer/<int:pk>/', views.computer_detail_view,
2019-08-04 20:44:19 +02:00
name='computer'),
2019-11-30 16:47:49 +01:00
path('computers/all/', views.ComputersFilterView.as_view(),
2019-12-29 23:54:27 +01:00
name='all_computers'),
2017-12-25 13:31:29 +01:00
]