]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toaster: Start Django machinery for database access
authorElliot Smith <elliot.smith@intel.com>
Thu, 10 Dec 2015 03:56:30 +0000 (19:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2015 23:12:44 +0000 (23:12 +0000)
commit671aaab8cb7c494cd5c7621b45a6f41a203d8bb5
tree9ff94ea684de2fde0c3675306c55f47c4d3a3024
parent5fd8e90ab9b81d1bd0d301bc1c91228ecbbea74b
toaster: Start Django machinery for database access

buildinfohelper, with the new import paths for our Django models
and Django 1.8, was not getting an active connection to the database.

In buildinfohelper, call django.setup() explicitly to make sure
that the database connection is ready and models can be queried
and saved.

[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>
lib/bb/ui/buildinfohelper.py