Mercurial > hgbook
diff web/hgbook/comments/urls.py @ 673:ad304b606163
Initial cut at web comment system import
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 10 Mar 2009 21:42:19 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/hgbook/comments/urls.py Tue Mar 10 21:42:19 2009 -0700 @@ -0,0 +1,8 @@ +from django.conf.urls.defaults import * + +urlpatterns = patterns('', + (r'chapter/(?P<id>[^/]+)/?$', 'hgbook.comments.views.chapter'), + (r'chapter/(?P<id>[^/]+)/count/?$', 'hgbook.comments.views.chapter_count'), + (r'single/(?P<id>[^/]+)/?$', 'hgbook.comments.views.single'), + (r'submit/(?P<id>[^/]+)/?$', 'hgbook.comments.views.submit') +)