mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
* [Update] 增加清理celery日志 * [Update] 修复两周前会话命令数量系那是问题 * [Update] 修复两周前会话命令数量系那是问题 * [Update] 修改结构 * [Update] 添加datatable失败的日志 * [Update] 转换配置文件格式 * [Update] 添加traceback
22 lines
428 B
Python
22 lines
428 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
from django.urls import path
|
|
from rest_framework_bulk.routes import BulkRouter
|
|
|
|
from .. import api_v2 as api
|
|
|
|
app_name = 'terminal'
|
|
|
|
router = BulkRouter()
|
|
router.register(r'terminal', api.TerminalViewSet, 'terminal')
|
|
|
|
|
|
urlpatterns = [
|
|
path('terminal-registrations/', api.TerminalRegistrationApi.as_view(),
|
|
name='terminal-registration')
|
|
]
|
|
|
|
urlpatterns += router.urls
|