diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-07-15 13:01:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 20:06:57 +0100 |
commit | 5aba3d7fcc3a9edf477bedeced96444b2fbcb8be (patch) | |
tree | f273adece5de31e95cc6f6e24b216706ed43c859 /bitbake/lib/toaster/toastergui/views.py | |
parent | 6cfb76fa8bd1c192e6a0524b7670e2172e5d8e26 (diff) | |
download | poky-5aba3d7fcc3a9edf477bedeced96444b2fbcb8be.tar.gz |
bitbake: toaster: improved Project models
A layer may live in a subdirectory of a git repository,
so we add a field to track this setting in the Project layers.
We add the Project schedule_build function, which creates
a build request from the current project configuration.
We also fix an import problem with Projects in views.
(Bitbake rev: 1b5835e5d48cbfb7d38e38437c45d161052dfb37)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 8fbe8a3640..f9e8e51688 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -1773,6 +1773,8 @@ if toastermain.settings.MANAGED: | |||
1773 | from django.contrib.auth import authenticate, login | 1773 | from django.contrib.auth import authenticate, login |
1774 | from django.contrib.auth.decorators import login_required | 1774 | from django.contrib.auth.decorators import login_required |
1775 | 1775 | ||
1776 | from orm.models import Project | ||
1777 | |||
1776 | import traceback | 1778 | import traceback |
1777 | 1779 | ||
1778 | class BadParameterException(Exception): pass # error thrown on invalid POST requests | 1780 | class BadParameterException(Exception): pass # error thrown on invalid POST requests |