2018-11-23 02:25:35 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# ~*~ coding: utf-8 ~*~
|
|
|
|
#
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
|
|
|
from django.urls import path, include
|
|
|
|
from rest_framework_bulk.routes import BulkRouter
|
2019-03-18 03:34:13 +00:00
|
|
|
from .. import api_v2 as api
|
2018-11-23 02:25:35 +00:00
|
|
|
|
|
|
|
app_name = 'users'
|
|
|
|
|
|
|
|
router = BulkRouter()
|
|
|
|
router.register(r'service-account-registrations',
|
|
|
|
api.ServiceAccountRegistrationViewSet,
|
|
|
|
'service-account-registration')
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
# path('token/', api.UserToken.as_view(), name='user-token'),
|
|
|
|
]
|
|
|
|
urlpatterns += router.urls
|
|
|
|
|
|
|
|
|