core: add custom group model with hierarchy , add tree admin
This commit is contained in:
9
passbook/admin/api/v1/urls.py
Normal file
9
passbook/admin/api/v1/urls.py
Normal file
@ -0,0 +1,9 @@
|
||||
"""passbook admin API URLs"""
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from passbook.admin.api.v1.groups import GroupViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'groups', GroupViewSet)
|
||||
|
||||
urlpatterns = router.urls
|
Reference in New Issue
Block a user