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
c6ec00e8
Unverified
Commit
c6ec00e8
authored
Jul 29, 2019
by
老广
Committed by
GitHub
Jul 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改collect static file机制 (#3044)
parent
99ce688a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
_granted_assets.html
apps/users/templates/users/_granted_assets.html
+1
-1
jms
jms
+1
-1
No files found.
apps/users/templates/users/_granted_assets.html
View file @
c6ec00e8
...
...
@@ -156,7 +156,7 @@ function loadLabels() {
}
$
(
document
).
ready
(
function
()
{
loadLabels
()
{
#
loadLabels
()
#
}
}).
on
(
'click'
,
'.labels-menu li'
,
function
()
{
var
val
=
$
(
this
).
text
();
$
(
"#user_assets_table_filter input"
).
val
(
val
);
...
...
jms
View file @
c6ec00e8
...
...
@@ -81,7 +81,7 @@ def make_migrations():
def
collect_static
():
print
(
"Collect static files"
)
os
.
chdir
(
os
.
path
.
join
(
BASE_DIR
,
'apps'
))
subprocess
.
call
(
'python3 manage.py collectstatic --no-input'
,
shell
=
True
)
subprocess
.
call
(
'python3 manage.py collectstatic --no-input
-c &> /dev/null && echo "Collect static file done"
'
,
shell
=
True
)
def
prepare
():
...
...
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