mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Standardize API URL inclusions
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from django.conf.urls import include, url
|
||||
|
||||
from rest_framework import routers
|
||||
|
||||
from . import views
|
||||
@@ -13,3 +15,9 @@ router.register(r'ip-addresses', views.IPAddressViewSet)
|
||||
router.register(r'vlan-groups', views.VLANGroupViewSet)
|
||||
router.register(r'vlans', views.VLANViewSet)
|
||||
router.register(r'services', views.ServiceViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
url(r'', include(router.urls)),
|
||||
|
||||
]
|
||||
|
Reference in New Issue
Block a user