mirror of https://github.com/jumpserver/jumpserver
Change appname webterminal to terminal
parent
220892824c
commit
c7f3aaa654
|
@ -54,7 +54,7 @@ INSTALLED_APPS = [
|
||||||
'users.apps.UsersConfig',
|
'users.apps.UsersConfig',
|
||||||
'assets.apps.AssetsConfig',
|
'assets.apps.AssetsConfig',
|
||||||
'perms.apps.PermsConfig',
|
'perms.apps.PermsConfig',
|
||||||
'webterminal.apps.WebterminalConfig',
|
'terminal.apps.TerminalConfig',
|
||||||
'ops.apps.OpsConfig',
|
'ops.apps.OpsConfig',
|
||||||
'audits.apps.AuditsConfig',
|
'audits.apps.AuditsConfig',
|
||||||
'common.apps.CommonConfig',
|
'common.apps.CommonConfig',
|
||||||
|
|
|
@ -25,7 +25,7 @@ urlpatterns = [
|
||||||
url(r'^(api/)?users/', include('users.urls')),
|
url(r'^(api/)?users/', include('users.urls')),
|
||||||
url(r'^assets/', include('assets.urls')),
|
url(r'^assets/', include('assets.urls')),
|
||||||
url(r'^perms/', include('perms.urls')),
|
url(r'^perms/', include('perms.urls')),
|
||||||
url(r'^terminal/', include('webterminal.urls')),
|
url(r'^terminal/', include('terminal.urls')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@ from __future__ import unicode_literals
|
||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
class WebterminalConfig(AppConfig):
|
class TerminalConfig(AppConfig):
|
||||||
name = 'webterminal'
|
name = 'terminal'
|
|
@ -0,0 +1,10 @@
|
||||||
|
# coding:utf-8
|
||||||
|
from django.conf.urls import url
|
||||||
|
|
||||||
|
import views
|
||||||
|
|
||||||
|
app_name = 'terminal'
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
|
url(r'^web-terminal$', views.TerminalView.as_view(), name='web-terminal'),
|
||||||
|
]
|
|
@ -1,11 +0,0 @@
|
||||||
# coding:utf-8
|
|
||||||
from django.conf.urls import url
|
|
||||||
from .views import *
|
|
||||||
from django.contrib import admin
|
|
||||||
admin.autodiscover()
|
|
||||||
|
|
||||||
app_name = 'webterminal'
|
|
||||||
|
|
||||||
urlpatterns = [
|
|
||||||
url(r'^$', TerminalView.as_view(), name='webterminal'),
|
|
||||||
]
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
pass
|
Loading…
Reference in New Issue