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
@@ -8,3 +10,9 @@ router.register(r'providers', views.ProviderViewSet)
router.register(r'circuit-types', views.CircuitTypeViewSet)
router.register(r'circuits', views.CircuitViewSet)
router.register(r'circuit-terminations', views.CircuitTerminationViewSet)
urlpatterns = [
url(r'', include(router.urls)),
]