mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-22 23:46:42 +02:00
rearrange the urls
This commit is contained in:
parent
b2281be9cd
commit
74677e6c2d
|
@ -8,13 +8,13 @@ urlpatterns = [
|
|||
name='customer'),
|
||||
path('customer/<int:customer_id>/computers',
|
||||
views.computers_table_view, name='computers'),
|
||||
path('device/<int:device_id>/', views.device_detail_view, name='device'),
|
||||
path('computer/<int:computer_id>/', views.computer_detail_view,
|
||||
name='computer'),
|
||||
path('customer/<int:customer_id>/devices/', views.devices_table_view,
|
||||
name='devices'),
|
||||
path('customer/<int:customer_id>/nets/', views.nets_table_view,
|
||||
name='nets'),
|
||||
path('computer/<int:computer_id>/', views.computer_detail_view,
|
||||
name='computer'),
|
||||
path('device/<int:device_id>/', views.device_detail_view, name='device'),
|
||||
path('net/<int:pk>/', views.net_detail_view, name='net'),
|
||||
path('backup/<int:pk>/', views.backup_detail_view, name='backup'),
|
||||
path('computers/all/', views.AllComputersView.as_view(), name='all_computers')
|
||||
|
|
Loading…
Reference in New Issue
Block a user