Use migrate command instead of syncdb
In Django 1.9 syncdb command will be deprecated. This commit updates CI scripts to prevent a fail and corresponding docs are updated. Change-Id: Ief5bba614bdcaecf4c01898b569b0c8d06885242 Closes-Bug: #1505177
This commit is contained in:
@@ -127,7 +127,7 @@ function init_murano_dashboard() {
|
||||
|
||||
python "$horizon_manage_py" collectstatic --noinput
|
||||
python "$horizon_manage_py" compress --force
|
||||
python "$horizon_manage_py" syncdb --noinput
|
||||
python "$horizon_manage_py" migrate --noinput
|
||||
|
||||
restart_apache_server
|
||||
}
|
||||
|
@@ -374,7 +374,7 @@ function init_murano_dashboard() {
|
||||
|
||||
python "$horizon_manage_py" collectstatic --noinput
|
||||
python "$horizon_manage_py" compress --force
|
||||
python "$horizon_manage_py" syncdb --noinput
|
||||
python "$horizon_manage_py" migrate --noinput
|
||||
|
||||
restart_apache_server
|
||||
}
|
||||
|
@@ -349,7 +349,7 @@ Install Murano Dashboard
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
tox -e venv -- python manage.py syncdb
|
||||
tox -e venv -- python manage.py migrate --noinput
|
||||
..
|
||||
|
||||
You can reply 'no' since for development purpose separate user is not needed.
|
||||
|
Reference in New Issue
Block a user