From b09825d39dba2652f6e6aa0d3a371c14f1f0ecb1 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Fri, 4 Nov 2016 22:42:11 +0800 Subject: [PATCH] Move to manage.py migrate in horizon manage.py syncdb is deprecated since django 1.7 Change-Id: I2b419b183e839485b7c5080112a73bab3f869ce6 Closes-Bug: #1639259 --- docker/horizon/extend_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index 51be17405b..4db20fd8d5 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -7,7 +7,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then if [[ -f "/var/lib/kolla/venv/bin/python" ]]; then MANAGE_PY="/var/lib/kolla/venv/bin/python /var/lib/kolla/venv/bin/manage.py" fi - $MANAGE_PY syncdb --noinput + $MANAGE_PY migrate --noinput exit 0 fi