summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 400580a235..27b0baabfb 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -22,6 +22,7 @@ from django.views.generic import RedirectView, TemplateView
22from django.http import HttpResponseBadRequest 22from django.http import HttpResponseBadRequest
23from toastergui import tables 23from toastergui import tables
24from toastergui import typeaheads 24from toastergui import typeaheads
25from toastergui import api
25 26
26urlpatterns = patterns('toastergui.views', 27urlpatterns = patterns('toastergui.views',
27 # landing page 28 # landing page
@@ -180,6 +181,10 @@ urlpatterns = patterns('toastergui.views',
180 url(r'^xhr_customrecipe/', 'xhr_customrecipe', 181 url(r'^xhr_customrecipe/', 'xhr_customrecipe',
181 name='xhr_customrecipe'), 182 name='xhr_customrecipe'),
182 183
184 url(r'^xhr_buildrequest/project/(?P<pid>\d+)$',
185 api.XhrBuildRequest.as_view(),
186 name='xhr_buildrequest'),
187
183 # default redirection 188 # default redirection
184 url(r'^$', RedirectView.as_view(url='landing', permanent=True)), 189 url(r'^$', RedirectView.as_view(url='landing', permanent=True)),
185) 190)