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.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 9892d2ab93..9509cd5928 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -199,19 +199,25 @@ urlpatterns = patterns('toastergui.views',
199 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'), 199 url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'),
200 200
201 # image customisation functionality 201 # image customisation functionality
202 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/(?P<package_id>\d+|)$', 202 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)'
203 'xhr_customrecipe_packages', name='xhr_customrecipe_packages'), 203 '/packages/(?P<package_id>\d+|)$',
204 api.XhrCustomRecipePackages.as_view(),
205 name='xhr_customrecipe_packages'),
204 206
205 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/$', 207 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/$',
206 'xhr_customrecipe_packages', name='xhr_customrecipe_packages'), 208 api.XhrCustomRecipePackages.as_view(),
209 name='xhr_customrecipe_packages'),
207 210
208 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)$', 'xhr_customrecipe_id', 211 url(r'^xhr_customrecipe/(?P<recipe_id>\d+)$',
212 api.XhrCustomRecipeId.as_view(),
209 name='xhr_customrecipe_id'), 213 name='xhr_customrecipe_id'),
210 url(r'^xhr_customrecipe/', 'xhr_customrecipe', 214
215 url(r'^xhr_customrecipe/',
216 api.XhrCustomRecipe.as_view(),
211 name='xhr_customrecipe'), 217 name='xhr_customrecipe'),
212 218
213 url(r'^xhr_buildrequest/project/(?P<pid>\d+)$', 219 url(r'^xhr_buildrequest/project/(?P<pid>\d+)$',
214 api.XhrBuildRequest.as_view(), 220 api.XhrBuildRequest.as_view(),
215 name='xhr_buildrequest'), 221 name='xhr_buildrequest'),
216 222
217 url(r'^mostrecentbuilds$', api.MostRecentBuildsView.as_view(), 223 url(r'^mostrecentbuilds$', api.MostRecentBuildsView.as_view(),