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:13:07 +0000 |
| commit | 8d058cfb8f81018036bff827d7ec14653a104806 (patch) | |
| tree | b32ac1fd57409e2255e33fd022c44e5aa75771d1 | |
| parent | 717c636d71e8cd32cf8e05968adbf5c835bcfb31 (diff) | |
| download | poky-8d058cfb8f81018036bff827d7ec14653a104806.tar.gz | |
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 <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>
| -rwxr-xr-x | bitbake/bin/toaster | 2 |
1 files changed, 1 insertions, 1 deletions
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() | |||
| 56 | retval=0 | 56 | retval=0 |
| 57 | # you can always add a superuser later via | 57 | # you can always add a superuser later via |
| 58 | # python bitbake/lib/toaster/manage.py python manage.py createsuperuser --username=<ME> | 58 | # python bitbake/lib/toaster/manage.py python manage.py createsuperuser --username=<ME> |
| 59 | python $BBBASEDIR/lib/toaster/manage.py syncdb --noinput || retval=1 | 59 | python $BBBASEDIR/lib/toaster/manage.py migrate --noinput || retval=1 |
| 60 | 60 | ||
| 61 | python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 | 61 | python $BBBASEDIR/lib/toaster/manage.py migrate orm || retval=2 |
| 62 | 62 | ||
