diff options
| author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-06-09 11:36:01 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-11 10:35:47 +0100 |
| commit | b5a928af721026795be7b7f68b2dd577408afbe5 (patch) | |
| tree | 578ba9fb6ffbd31baea949d79f38cb48e370a269 /bitbake/lib/toaster/orm/models.py | |
| parent | 9c3b53f12e4f463cacdcde94103525a129029924 (diff) | |
| download | poky-b5a928af721026795be7b7f68b2dd577408afbe5.tar.gz | |
bitbake: toaster: add Project class models to orm
This patch adds the Project class models to the
toaster GUI data model. There is no specified use,
and the link in the Build class is optional.
(Bitbake rev: 38f77a43d16e202d1f40632b27cb70dd20d02a5e)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
| -rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 8d4f21b420..b67afe139c 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
| @@ -41,7 +41,7 @@ class Build(models.Model): | |||
| 41 | 41 | ||
| 42 | search_allowed_fields = ['machine', 'cooker_log_path', "target__target", "target__target_image_file__file_name"] | 42 | search_allowed_fields = ['machine', 'cooker_log_path', "target__target", "target__target_image_file__file_name"] |
| 43 | 43 | ||
| 44 | project = models.ForeignKey(Project) | 44 | project = models.ForeignKey(Project, null = True) |
| 45 | machine = models.CharField(max_length=100) | 45 | machine = models.CharField(max_length=100) |
| 46 | distro = models.CharField(max_length=100) | 46 | distro = models.CharField(max_length=100) |
| 47 | distro_version = models.CharField(max_length=100) | 47 | distro_version = models.CharField(max_length=100) |
