core: add custom group model with hierarchy , add tree admin

This commit is contained in:
Jens Langhammer
2018-12-27 00:38:42 +01:00
parent ebda84bcaf
commit d4a6e28fe6
17 changed files with 284 additions and 58 deletions

View 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