]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: toaster: use OneToOneField instead of ForeignKey
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 10 Dec 2015 03:56:38 +0000 (19:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Dec 2015 23:13:07 +0000 (23:13 +0000)
commit84daa40bc7600df75d93db358be94cac10452936
treed23c913ca773bd04720e0cbfe6a98a199cee3dec
parentc464f34d5bd3aa4119aa3d1591ee7d55afe9b35f
bitbake: toaster: use OneToOneField instead of ForeignKey

Used OneToOneField to reference BuildRequest in BRBitbake model.

Fixed django warning:
WARNINGS: Setting unique=True on a ForeignKey has the same effect
          as using a OneToOneField.

(Bitbake rev: aaa4319ebbb06facb77b4ba936cf3aa2068ff238)

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>
bitbake/lib/toaster/bldcontrol/bbcontroller.py
bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
bitbake/lib/toaster/bldcontrol/models.py
bitbake/lib/toaster/bldcontrol/tests.py