summaryrefslogtreecommitdiffstats
path: root/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:20:41 +0000
commit0353d49ae934c4595408e1b7a1443769f095f2aa (patch)
tree8ddcdef272b1a35ddebdb0116fe693feed929cef /lib/toaster/bldcontrol/models.py
parent1689edd35477a126bfbf4bd3257c4f1f9e16f20d (diff)
downloadbitbake-0353d49ae934c4595408e1b7a1443769f095f2aa.tar.gz
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] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/bldcontrol/models.py')
-rw-r--r--lib/toaster/bldcontrol/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py
index cab446364..2386d2345 100644
--- a/lib/toaster/bldcontrol/models.py
+++ b/lib/toaster/bldcontrol/models.py
@@ -104,6 +104,8 @@ class BuildRequest(models.Model):
(REQ_DELETED, "deleted"),
)
+ search_allowed_fields = ("brtarget__target",)
+
project = models.ForeignKey(Project)
build = models.OneToOneField(Build, null = True) # TODO: toasterui should set this when Build is created
environment = models.ForeignKey(BuildEnvironment, null = True)