diff mbox

[45/51] urls: Create another entry point for the list of patches

Message ID 1441986924-26689-46-git-send-email-damien.lespiau@intel.com
State Superseded
Headers show

Commit Message

Damien Lespiau Sept. 11, 2015, 3:55 p.m. UTC
In the future, I'd like to make /project/${id}/list point to the list of
series, so create another entry point for the list of patches.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 patchwork/urls.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/patchwork/urls.py b/patchwork/urls.py
index 36fc5f9..646df7f 100644
--- a/patchwork/urls.py
+++ b/patchwork/urls.py
@@ -64,6 +64,7 @@  urlpatterns = patterns('',
     # Example:
     (r'^$', 'patchwork.views.projects'),
     (r'^project/(?P<project_id>[^/]+)/list/$', 'patchwork.views.patch.list'),
+    (r'^project/(?P<project_id>[^/]+)/patches/$', 'patchwork.views.patch.list'),
     (r'^project/(?P<project_id>[^/]+)/$', 'patchwork.views.project.project'),
 
     # series views