diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index d2df4e6048..7f8489d3aa 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -6,7 +6,7 @@ | |||
6 | # SPDX-License-Identifier: GPL-2.0-only | 6 | # SPDX-License-Identifier: GPL-2.0-only |
7 | # | 7 | # |
8 | 8 | ||
9 | from django.conf.urls import url | 9 | from django.urls import re_path as url |
10 | from django.views.generic import RedirectView | 10 | from django.views.generic import RedirectView |
11 | 11 | ||
12 | from toastergui import tables | 12 | from toastergui import tables |
@@ -95,6 +95,7 @@ urlpatterns = [ | |||
95 | # project URLs | 95 | # project URLs |
96 | url(r'^newproject/$', views.newproject, name='newproject'), | 96 | url(r'^newproject/$', views.newproject, name='newproject'), |
97 | 97 | ||
98 | url(r'^cmdline/$', views.CommandLineBuilds.as_view(), name='cmdlines'), | ||
98 | url(r'^projects/$', | 99 | url(r'^projects/$', |
99 | tables.ProjectsTable.as_view(template_name="projects-toastertable.html"), | 100 | tables.ProjectsTable.as_view(template_name="projects-toastertable.html"), |
100 | name='all-projects'), | 101 | name='all-projects'), |
@@ -206,8 +207,7 @@ urlpatterns = [ | |||
206 | url(r'^js-unit-tests/$', views.jsunittests, name='js-unit-tests'), | 207 | url(r'^js-unit-tests/$', views.jsunittests, name='js-unit-tests'), |
207 | 208 | ||
208 | # image customisation functionality | 209 | # image customisation functionality |
209 | url(r'^xhr_customrecipe/(?P<recipe_id>\d+)' | 210 | url(r'^xhr_customrecipe/(?P<recipe_id>\d+)/packages/(?P<package_id>\d+|)$', |
210 | '/packages/(?P<package_id>\d+|)$', | ||
211 | api.XhrCustomRecipePackages.as_view(), | 211 | api.XhrCustomRecipePackages.as_view(), |
212 | name='xhr_customrecipe_packages'), | 212 | name='xhr_customrecipe_packages'), |
213 | 213 | ||