diff options
author | Stephen Finucane <stephen@that.guru> | 2016-09-25 21:59:37 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2016-11-19 18:45:06 +0000 |
commit | 9301db906b0937ddbc2e573fdd3d05f4a1345f63 (patch) | |
tree | f6c79d12604d16f9eb558b72dc619560f15286b7 /patchwork/urls.py | |
parent | 82c7c7f3c091380e5d0dd33723f34b980d037019 (diff) | |
download | patchwork-9301db906b0937ddbc2e573fdd3d05f4a1345f63.tar patchwork-9301db906b0937ddbc2e573fdd3d05f4a1345f63.tar.gz |
Add support for comment permalink
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes-bug: #39
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r-- | patchwork/urls.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py index 33e4781..98b4dbe 100644 --- a/patchwork/urls.py +++ b/patchwork/urls.py @@ -24,6 +24,7 @@ from django.contrib.auth import views as auth_views from patchwork.views import api as api_views from patchwork.views import bundle as bundle_views +from patchwork.views import comment as comment_views from patchwork.views import cover as cover_views from patchwork.views import help as help_views from patchwork.views import mail as mail_views @@ -60,6 +61,10 @@ urlpatterns = [ url(r'^cover/(?P<cover_id>\d+)/$', cover_views.cover, name='cover-detail'), + # comment urls + url(r'^comment/(?P<comment_id>\d+)/$', comment_views.comment, + name='comment-redirect'), + # logged-in user stuff url(r'^user/$', user_views.profile, name='user-profile'), url(r'^user/todo/$', user_views.todo_lists, |