1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Moved rack units and device LLDP neighbors views into model viewsets

This commit is contained in:
Jeremy Stretch
2017-01-30 17:24:04 -05:00
parent d9e4017677
commit 173a6eee03
2 changed files with 27 additions and 14 deletions

View File

@@ -55,12 +55,6 @@ urlpatterns = [
url(r'', include(router.urls)),
url(r'^devices/(?P<pk>\d+)/', include(device_router.urls)),
# Racks
url(r'^racks/(?P<pk>\d+)/rack-units/$', views.RackUnitListView.as_view(), name='rack_units'),
# Devices
url(r'^devices/(?P<pk>\d+)/lldp-neighbors/$', views.LLDPNeighborsView.as_view(), name='device_lldp-neighbors'),
# Miscellaneous
url(r'^related-connections/$', views.RelatedConnectionsView.as_view(), name='related_connections'),
url(r'^topology-maps/(?P<slug>[\w-]+)/$', TopologyMapView.as_view(), name='topology_map'),