1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

bitbake: toaster: CustomImageRecipe add search_allowed_fields to this model

In order to search the model from the UI some fields must be nominated
as searchable.

(Bitbake rev: 2558729b4c248a2fa5a11d877bc42cb05a30602e)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood
2015-11-26 16:44:32 +00:00
committed by Richard Purdie
parent bdf62414f2
commit d82c541147
+1
View File
@@ -1238,6 +1238,7 @@ class ProjectLayer(models.Model):
unique_together = (("project", "layercommit"),)
class CustomImageRecipe(models.Model):
search_allowed_fields = ['name']
name = models.CharField(max_length=100)
base_recipe = models.ForeignKey(Recipe)
packages = models.ManyToManyField(Package)