From 8d058cfb8f81018036bff827d7ec14653a104806 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Wed, 9 Dec 2015 19:56:34 -0800 Subject: bitbake: 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] (Bitbake rev: 7ff1630574180e1895b90ecef1ea0caf51304446) Signed-off-by: Elliot Smith Signed-off-by: Ed Bartosh Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/bin/toaster') diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 528e17e41f..e3c78675dc 100755 --- a/bitbake/bin/toaster +++ b/bitbake/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= - 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 -- cgit v1.2.3-54-g00ecf