Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
e66b1b41
Commit
e66b1b41
authored
Dec 24, 2014
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
803dc9c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
connect.py
connect.py
+1
-1
jump.conf
jump.conf
+0
-0
settings.py
jumpserver/settings.py
+1
-1
No files found.
connect.py
View file @
e66b1b41
...
...
@@ -15,7 +15,7 @@ from django.core.exceptions import ObjectDoesNotExist
from
Crypto.Cipher
import
AES
from
binascii
import
b2a_hex
,
a2b_hex
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
AutoSa
.settings'
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'
jumpserver
.settings'
django
.
setup
()
from
juser.models
import
User
,
Group
...
...
jump
server
.conf
→
jump.conf
View file @
e66b1b41
File moved
jumpserver/settings.py
View file @
e66b1b41
...
...
@@ -15,7 +15,7 @@ import ConfigParser
config
=
ConfigParser
.
ConfigParser
()
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
))
config
.
read
(
os
.
path
.
join
(
BASE_DIR
,
'jump
server
.conf'
))
config
.
read
(
os
.
path
.
join
(
BASE_DIR
,
'jump.conf'
))
DB_HOST
=
config
.
get
(
'db'
,
'host'
)
DB_PORT
=
config
.
getint
(
'db'
,
'port'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment