mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
da4c66385d
commit
af72d0fbb2
@@ -110,8 +110,7 @@ urlpatterns = patterns('toastergui.views',
|
||||
name="projectlayers"),
|
||||
|
||||
url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)$',
|
||||
tables.LayerDetails.as_view(template_name='layerdetails.html'),
|
||||
name='layerdetails'),
|
||||
'layerdetails', name='layerdetails'),
|
||||
|
||||
url(r'^project/(?P<pid>\d+)/layer/(?P<layerid>\d+)/recipes/$',
|
||||
tables.LayerRecipesTable.as_view(template_name="generic-toastertable-page.html"),
|
||||
|
||||
Reference in New Issue
Block a user