Mercurial > hgbook
view 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 source
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') )