diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-08-06 19:01:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-06 16:04:48 -0500 |
commit | af72d0fbb2d0f4d9aa29e124b3b4e216017f771d (patch) | |
tree | ecde1021451fcb2e2cc78729134441cb21a412e5 /bitbake/lib/toaster/toastergui/urls.py | |
parent | da4c66385dc8bc80242664c365b180c9bbc98707 (diff) | |
download | poky-af72d0fbb2d0f4d9aa29e124b3b4e216017f771d.tar.gz |
bitbake: toastergui: Move layerdetails view definition to the views.py
The layerdetails view definition was moved to tables though it isn't
a table. We have a mechanism for the JSON response for this page so use
this instead of a custom class.
(Bitbake rev: b5100bfd4cb32a9b59b0554c6dbc3a4295da7d8e)
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.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index d65ad2bfbb..f74090b9ba 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -110,8 +110,7 @@ urlpatterns = patterns('toastergui.views', | |||
110 | name="projectlayers"), | 110 | name="projectlayers"), |
111 | 111 | ||
112 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', | 112 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$', |
113 | tables.LayerDetails.as_view(template_name='layerdetails.html'), | 113 | 'layerdetails', name='layerdetails'), |
114 | name='layerdetails'), | ||
115 | 114 | ||
116 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)/recipes/$', | 115 | url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)/recipes/$', |
117 | tables.LayerRecipesTable.as_view(template_name="generic-toastertable-page.html"), | 116 | tables.LayerRecipesTable.as_view(template_name="generic-toastertable-page.html"), |