update: compilemessages and makemessages
This commit is contained in:
parent
f1c75ed9c5
commit
684d347f3e
2 changed files with 24 additions and 0 deletions
|
|
@ -273,4 +273,15 @@ function M.run_celery()
|
|||
end
|
||||
end
|
||||
|
||||
function M.make_messages()
|
||||
local term_num = 11
|
||||
toggleterm.exec("./manage.py makemessages -a", term_num, 100, ".", "float", "make_messages", false)
|
||||
end
|
||||
|
||||
function M.compile_messages()
|
||||
local term_num = 12
|
||||
toggleterm.exec("./manage.py compilemessages", term_num, 100, ".", "float", "compile_messages", false)
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue