diff options
author | Elliot Smith <elliot.smith@intel.com> | 2015-12-09 19:56:34 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-14 23:12:44 +0000 |
commit | 7ff1630574180e1895b90ecef1ea0caf51304446 (patch) | |
tree | a606c7dc188bc95a1c4e833a9e7d17fc8cba52e2 /bin/toaster | |
parent | 4aa09488bfe65cb365356b320cd9865643bb4fe5 (diff) | |
download | bitbake-contrib-7ff1630574180e1895b90ecef1ea0caf51304446.tar.gz |
toaster: Update deprecated manage.py command
syncdb is deprecated in favour of migrate in Django 1.7:
https://docs.djangoproject.com/en/1.8/releases/1.7/#schema-migrations
Update to the "migrate" command in Toaster's start script.
[YOCTO #8364]
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/toaster')
-rwxr-xr-x | bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/toaster b/bin/toaster index 528e17e41..e3c78675d 100755 --- a/bin/toaster +++ b/bin/toaster @@ -56,7 +56,7 @@ webserverStartAll() retval=0 # you can always add a superuser later via # python bitbake/lib/toaster/manage.py python manage.py createsuperuser --username=<ME> - python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1 + python $BBBASEDIR/lib/toaster/manage.py migrate --noinput || retval=1 python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 |