diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 11 |
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 | ||
22 | from django.http import HttpResponseBadRequest | 22 | from django.http import HttpResponseBadRequest |
23 | from toastergui import tables | 23 | from toastergui import tables |
24 | from toastergui import typeaheads | ||
24 | 25 | ||
25 | urlpatterns = patterns('toastergui.views', | 26 | urlpatterns = 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'), |