diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 5 |
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 | |||
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 | from toastergui import typeaheads |
25 | from toastergui import api | ||
25 | 26 | ||
26 | urlpatterns = patterns('toastergui.views', | 27 | urlpatterns = 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 | ) |