summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-08-04 22:46:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:46 -0500
commit951e40dd7d77ca5fcad35204817cfae916c267e5 (patch)
tree19200baebde063d9e4c57d1967797fd6064c1373 /bitbake/lib/toaster/toastergui/urls.py
parent1e7707b63f91eb310e3207da4d9cdd831a4851c5 (diff)
downloadpoky-951e40dd7d77ca5fcad35204817cfae916c267e5.tar.gz
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 <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.py8
1 files changed, 6 insertions, 2 deletions
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',
126 name=tables.LayerMachinesTable.__name__.lower()), 126 name=tables.LayerMachinesTable.__name__.lower()),
127 127
128 128
129 url(r'^xhr_datatypeahead/(?P<pid>\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'),
130 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'),
131 # typeahead api end points 129 # typeahead api end points
132 url(r'^xhr_typeahead/(?P<pid>\d+)/layers$', 130 url(r'^xhr_typeahead/(?P<pid>\d+)/layers$',
133 typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'), 131 typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'),
@@ -139,6 +137,12 @@ urlpatterns = patterns('toastergui.views',
139 typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'), 137 typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'),
140 138
141 139
140
141 url(r'^xhr_testreleasechange/(?P<pid>\d+)$', 'xhr_testreleasechange',
142 name='xhr_testreleasechange'),
143 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit',
144 name='xhr_configvaredit'),
145
142 url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), 146 url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'),
143 url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), 147 url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'),
144 148