diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 64f790293a..8a7fef1dee 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
| @@ -19,6 +19,8 @@ | |||
| 19 | from django.conf.urls import patterns, include, url | 19 | from django.conf.urls import patterns, include, url |
| 20 | from django.views.generic import RedirectView | 20 | from django.views.generic import RedirectView |
| 21 | 21 | ||
| 22 | from django.http import HttpResponseBadRequest | ||
| 23 | |||
| 22 | urlpatterns = patterns('toastergui.views', | 24 | urlpatterns = patterns('toastergui.views', |
| 23 | # landing page | 25 | # landing page |
| 24 | url(r'^landing/$', 'landing', name='landing'), | 26 | url(r'^landing/$', 'landing', name='landing'), |
| @@ -78,11 +80,13 @@ urlpatterns = patterns('toastergui.views', | |||
| 78 | 80 | ||
| 79 | url(r'^layers/$', 'layers', name='layers'), | 81 | url(r'^layers/$', 'layers', name='layers'), |
| 80 | url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'), | 82 | url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'), |
| 83 | url(r'^layer/$', lambda x: HttpResponseBadRequest(), name='base_layerdetails'), | ||
| 81 | url(r'^targets/$', 'targets', name='all-targets'), | 84 | url(r'^targets/$', 'targets', name='all-targets'), |
| 82 | url(r'^machines/$', 'machines', name='machines'), | 85 | url(r'^machines/$', 'machines', name='machines'), |
| 83 | 86 | ||
| 84 | url(r'^projects/$', 'projects', name='all-projects'), | 87 | url(r'^projects/$', 'projects', name='all-projects'), |
| 85 | 88 | ||
| 89 | url(r'^project/$', lambda x: HttpResponseBadRequest(), name='base_project'), | ||
| 86 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), | 90 | url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), |
| 87 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), | 91 | url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), |
| 88 | url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), | 92 | url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), |
