mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-28 12:11:08 +02:00
026fb6e162
without this changes the API root only displayed the URLs for the backup app. Now it shows all URLs.
11 lines
318 B
Python
11 lines
318 B
Python
from rest_framework import routers
|
|
|
|
from . import views
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register(r'owners', views.OwnerViewSet)
|
|
router.register(r'customers', views.CustomerViewSet)
|
|
router.register(r'device-manufacturers', views.DeviceManufacturerViewSet)
|
|
router.register(r'locations', views.LocationViewSet)
|