1
0
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:
Jeremy Stretch
2017-02-03 16:20:14 -05:00
parent 616ca4fe1f
commit 35f310885e
4 changed files with 27 additions and 6 deletions

View File

@@ -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)),
]