From 951e40dd7d77ca5fcad35204817cfae916c267e5 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 4 Aug 2015 22:46:36 +0300 Subject: bitbake: toasterui: views Remove unused xhr_typeahead view definition The one thing left being used in this definition was a response which contains the list of layers which would be deleted if you change the project release. This patch moves that to it's own url/endpoint and updates the frontend reference which is using it. (Bitbake rev: 1cc19c84ee97182f39eae0338c712f7a2b40a18d) Signed-off-by: Michael Wood Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/urls.py') diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index b44c42f2e3..d65ad2bfbb 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py @@ -126,8 +126,6 @@ urlpatterns = patterns('toastergui.views', name=tables.LayerMachinesTable.__name__.lower()), - url(r'^xhr_datatypeahead/(?P\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'), - url(r'^xhr_configvaredit/(?P\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), # typeahead api end points url(r'^xhr_typeahead/(?P\d+)/layers$', typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'), @@ -139,6 +137,12 @@ urlpatterns = patterns('toastergui.views', typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'), + + url(r'^xhr_testreleasechange/(?P\d+)$', 'xhr_testreleasechange', + name='xhr_testreleasechange'), + url(r'^xhr_configvaredit/(?P\d+)$', 'xhr_configvaredit', + name='xhr_configvaredit'), + url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), -- cgit v1.2.3-54-g00ecf