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

Damien Lespiau damien.lespiau at intel.com
Sat Sep 12 01:55:18 AEST 2015


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 at intel.com>
---
 patchwork/urls.py | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.1.0



More information about the Patchwork mailing list