mirror of https://github.com/jumpserver/jumpserver
19 lines
338 B
Python
19 lines
338 B
Python
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
|
||
|
from django.conf.urls import url
|
||
|
|
||
|
import views
|
||
|
import api
|
||
|
|
||
|
app_name = 'terminal'
|
||
|
|
||
|
urlpatterns = [
|
||
|
url(r'^terminal$', views.TerminalListView.as_view(), name='terminal-list'),
|
||
|
]
|
||
|
|
||
|
urlpatterns += [
|
||
|
url(r'^v1/terminal/$', api.TerminalApi.as_view(), name='terminal-list-create-api'),
|
||
|
]
|