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:
Ekaterina Chernova
2015-10-12 14:18:24 +03:00
parent 2b04624115
commit 4eeea9883d
3 changed files with 3 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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.