mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 14:56:24 -06:00
Rename OrderedDefaultRouter to NetBoxRouter & document for plugins
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from django.urls import include, path
|
||||
|
||||
from netbox.api import OrderedDefaultRouter
|
||||
from netbox.api import NetBoxRouter
|
||||
from . import views
|
||||
|
||||
|
||||
router = OrderedDefaultRouter()
|
||||
router = NetBoxRouter()
|
||||
router.APIRootView = views.UsersRootView
|
||||
|
||||
# Users and groups
|
||||
|
||||
Reference in New Issue
Block a user