summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/models.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-01-16 16:42:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-21 14:37:39 +0000
commitd1dbf4c078e04fdc0f3b971f62cdefcba4904232 (patch)
treecd77abd7c289e1ea1bd996d3949aaf91671898b1 /bitbake/lib/toaster/bldcontrol/models.py
parent9a51fb39dbde61baae5bf9094bbb1924bcfffd0a (diff)
downloadpoky-d1dbf4c078e04fdc0f3b971f62cdefcba4904232.tar.gz
bitbake: toaster: project builds page
This is a complete re-write of the "Project builds" page based on the "All builds" page in managed mode. [YOCTO #6589] (Bitbake rev: 0353d49ae934c4595408e1b7a1443769f095f2aa) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py
index cab4463647..2386d2345a 100644
--- a/bitbake/lib/toaster/bldcontrol/models.py
+++ b/bitbake/lib/toaster/bldcontrol/models.py
@@ -104,6 +104,8 @@ class BuildRequest(models.Model):
104 (REQ_DELETED, "deleted"), 104 (REQ_DELETED, "deleted"),
105 ) 105 )
106 106
107 search_allowed_fields = ("brtarget__target",)
108
107 project = models.ForeignKey(Project) 109 project = models.ForeignKey(Project)
108 build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created 110 build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created
109 environment = models.ForeignKey(BuildEnvironment, null = True) 111 environment = models.ForeignKey(BuildEnvironment, null = True)