Generate locale messages at dev server startup
By default, Horizon doesn't compile localized messages in tox environment. It leads to silent fail of language change with 'Success' message. Proposed patch includes compilation of messages to tox runserver command Change-Id: I149a622a81a17e9d951c68829349fc70fbb8ed2a
This commit is contained in:
parent
d6f62bc65d
commit
e8fd0020ab
5
tox.ini
5
tox.ini
@ -160,7 +160,10 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
|
||||
[testenv:runserver]
|
||||
basepython = python3
|
||||
envdir = {toxworkdir}/venv
|
||||
commands = {envpython} {toxinidir}/manage.py runserver {posargs}
|
||||
commands =
|
||||
{envpython} {toxinidir}/manage.py compilemessages
|
||||
{envpython} {toxinidir}/manage.py collectstatic -c --noinput
|
||||
{envpython} {toxinidir}/manage.py runserver {posargs}
|
||||
|
||||
[testenv:bandit]
|
||||
basepython = python3
|
||||
|
Loading…
Reference in New Issue
Block a user