mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
414 B
21 lines
414 B
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
from django.urls import path
|
|
from rest_framework_bulk.routes import BulkRouter
|
|
|
|
from ..api import v2 as api
|
|
|
|
app_name = 'terminal'
|
|
|
|
router = BulkRouter()
|
|
router.register(r'terminal', api.TerminalViewSet, 'terminal')
|
|
router.register(r'terminal-registrations', api.TerminalRegistrationViewSet, 'terminal-registration')
|
|
|
|
|
|
urlpatterns = [
|
|
]
|
|
|
|
urlpatterns += router.urls
|