summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-09-26 13:59:29 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 16:52:21 +0100
commit8ba7ccd25247539cbea8786026b375a2c9169aad (patch)
tree753608bcad31b9a4ba027215261cf3a0b4daf2d8 /bitbake/lib/toaster/toastergui/urls.py
parent4d0bc8d52130fcc62c0d239fd7e0c79bec188c88 (diff)
downloadpoky-8ba7ccd25247539cbea8786026b375a2c9169aad.tar.gz
bitbake: toaster: move MostRecentBuildsView to its own widget
This view is specific to the builds dashboard rather than gernic api so like ToasterTable and ToasterTypeAhead we class it as a widget as it has a single purpose. Also clean up some flake8 identified issues. Original author of the code moved in this commit is Elliot Smith. (Bitbake rev: 05428514e64ec896faae4055619e149e98bc8f57) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 1232611e2e..0002a5a2ee 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -24,6 +24,7 @@ from toastergui import tables
24from toastergui import buildtables 24from toastergui import buildtables
25from toastergui import typeaheads 25from toastergui import typeaheads
26from toastergui import api 26from toastergui import api
27from toastergui import widgets
27 28
28urlpatterns = patterns('toastergui.views', 29urlpatterns = patterns('toastergui.views',
29 # landing page 30 # landing page
@@ -224,7 +225,7 @@ urlpatterns = patterns('toastergui.views',
224 api.XhrProject.as_view(), 225 api.XhrProject.as_view(),
225 name='xhr_project'), 226 name='xhr_project'),
226 227
227 url(r'^mostrecentbuilds$', api.MostRecentBuildsView.as_view(), 228 url(r'^mostrecentbuilds$', widgets.MostRecentBuildsView.as_view(),
228 name='most_recent_builds'), 229 name='most_recent_builds'),
229 230
230 # default redirection 231 # default redirection