mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Standardized API URL definitions
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from django.conf.urls import include, url
|
||||
|
||||
from rest_framework import routers
|
||||
|
||||
from ipam.api.views import ServiceViewSet
|
||||
@@ -51,9 +49,4 @@ router.register(r'interface-connections', views.InterfaceConnectionViewSet)
|
||||
# Miscellaneous
|
||||
router.register(r'connected-device', views.ConnectedDeviceViewSet, base_name='connected-device')
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
url(r'', include(router.urls)),
|
||||
|
||||
]
|
||||
urlpatterns = router.urls
|
||||
|
Reference in New Issue
Block a user