diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2015-12-17 18:33:29 +0000 |
---|---|---|
committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-08 19:03:37 +0000 |
commit | a74bd81a8f6b00e8f2baf08c205f05c45b659e07 (patch) | |
tree | f454a7eb665959a988acd6d4bf46d5c037441d5c /patchwork/urls.py | |
parent | 50e4fe705af593ed7457761a1649f726ccb16bc0 (diff) | |
download | patchwork-a74bd81a8f6b00e8f2baf08c205f05c45b659e07.tar patchwork-a74bd81a8f6b00e8f2baf08c205f05c45b659e07.tar.gz |
urls: Create a project version of bundles
We'd like to have a per-project list of bundles as we present all data
in the context of a single project anyway.
Still keep the instance-wide list bundles around.
v2: Rename the existing 'bundle-list' url to 'user-bundles', as this is
more inkeeping with the other URLs
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r-- | patchwork/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py index 550e567..022b92c 100644 --- a/patchwork/urls.py +++ b/patchwork/urls.py @@ -42,6 +42,8 @@ urlpatterns = [ url(r'^$', project_views.list, name='project-list'), url(r'^project/(?P<project_id>[^/]+)/list/$', patch_views.list, name='patch-list'), + url(r'^project/(?P<project_id>[^/]+)/bundles/$', bundle_views.bundles, + name='bundle-list'), url(r'^project/(?P<project_id>[^/]+)/$', project_views.project, name='project-detail'), @@ -53,15 +55,15 @@ urlpatterns = [ url(r'^patch/(?P<patch_id>\d+)/mbox/$', patch_views.mbox, name='patch-mbox'), + # logged-in user stuff url(r'^user/$', user_views.profile, name='user-profile'), url(r'^user/todo/$', user_views.todo_lists, name='user-todos'), url(r'^user/todo/(?P<project_id>[^/]+)/$', user_views.todo_list, name='user-todo'), - url(r'^user/bundles/$', bundle_views.bundles, - name='bundle-list'), + name='user-bundles'), url(r'^user/link/$', user_views.link, name='user-link'), |