diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-06-08 15:22:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-12 00:01:49 +0100 |
commit | 27f5137cd6143b523e9aea8eeba406337aa935c4 (patch) | |
tree | ca47f73fda5ca2b2fba99872fbfa4f7a64f57b9a /bitbake/lib/toaster/toastergui/urls.py | |
parent | a8be6d4bb18232f13ffcaaf1a4137322db59fe48 (diff) | |
download | poky-27f5137cd6143b523e9aea8eeba406337aa935c4.tar.gz |
bitbake: toastergui: remove xhr_datatypeahaed layerdeps call
This patch removes the url-constructing calls to get the layer details
in favor of embedding the look-up URL in the JSON data on the
layer list page.
This allows further removal of the XHR-specific code for layer dependencies
in favor of REST calls to layer details data.
(Bitbake rev: 33d2b87aca667d72262a3928deaf35414b46a7c1)
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/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index f1b74cdd14..5a79f88eb4 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -80,12 +80,9 @@ urlpatterns = patterns('toastergui.views', | |||
80 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 80 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |
81 | url(r'^project/(?P<pid>\d+)/builds/$', 'projectbuilds', name='projectbuilds'), | 81 | url(r'^project/(?P<pid>\d+)/builds/$', 'projectbuilds', name='projectbuilds'), |
82 | 82 | ||
83 | url(r'^project/(?P<pid>\d+)/layer/$', lambda x,pid: HttpResponseBadRequest(), name='base_layerdetails'), | ||
84 | |||
85 | # the import layer is a project-specific functionality; | 83 | # the import layer is a project-specific functionality; |
86 | url(r'^project/(?P<pid>\d+)/importlayer$', 'importlayer', name='importlayer'), | 84 | url(r'^project/(?P<pid>\d+)/importlayer$', 'importlayer', name='importlayer'), |
87 | 85 | ||
88 | |||
89 | # the table pages that have been converted to ToasterTable widget | 86 | # the table pages that have been converted to ToasterTable widget |
90 | url(r'^project/(?P<pid>\d+)/machines/$', | 87 | url(r'^project/(?P<pid>\d+)/machines/$', |
91 | tables.MachinesTable.as_view(template_name="generic-toastertable-page.html"), | 88 | tables.MachinesTable.as_view(template_name="generic-toastertable-page.html"), |