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:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:45 -0500
commit73367c2ca82143c618a22f9faaa101761f192397 (patch)
treec1b7d07715e04a985e3a85d26e4de3693dcff422 /bitbake/lib/toaster/toastergui/urls.py
parentf4e51fff4a9dc8d44390482af11551dfa10e6f4b (diff)
downloadpoky-73367c2ca82143c618a22f9faaa101761f192397.tar.gz
bitbake: toastergui: Add typeaheads layers, machines, projects, recipes
Implementation of typeahead widgets for layers machines and recipes typeahead. [YOCTO #7152] (Bitbake rev: 913d01758564db2f5fae4451bf0fdca38a1b3d61) 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.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index beb43038a1..b44c42f2e3 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -21,6 +21,7 @@ from django.views.generic import RedirectView, TemplateView
21 21
22from django.http import HttpResponseBadRequest 22from django.http import HttpResponseBadRequest
23from toastergui import tables 23from toastergui import tables
24from toastergui import typeaheads
24 25
25urlpatterns = patterns('toastergui.views', 26urlpatterns = patterns('toastergui.views',
26 # landing page 27 # landing page
@@ -127,6 +128,16 @@ urlpatterns = patterns('toastergui.views',
127 128
128 url(r'^xhr_datatypeahead/(?P<pid>\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'), 129 url(r'^xhr_datatypeahead/(?P<pid>\d+)$', 'xhr_datatypeahead', name='xhr_datatypeahead'),
129 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), 130 url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'),
131 # typeahead api end points
132 url(r'^xhr_typeahead/(?P<pid>\d+)/layers$',
133 typeaheads.LayersTypeAhead.as_view(), name='xhr_layerstypeahead'),
134 url(r'^xhr_typeahead/(?P<pid>\d+)/machines$',
135 typeaheads.MachinesTypeAhead.as_view(), name='xhr_machinestypeahead'),
136 url(r'^xhr_typeahead/(?P<pid>\d+)/recipes$',
137 typeaheads.RecipesTypeAhead.as_view(), name='xhr_recipestypeahead'),
138 url(r'^xhr_typeahead/projects$',
139 typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'),
140
130 141
131 url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), 142 url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'),
132 url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'), 143 url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'),