SEESenv/web/hgbook/comments/urls.py
author amit@thunder
Mon, 22 Feb 2010 18:22:21 +0530
changeset 22 a27f1e69d966
parent 2 52d12eb31c30
permissions -rwxr-xr-x
testing .. I am really confused about how to handle the change of repos from /home/amit to /home/hg

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'chapter/(?P<id>[^/]+)/?$', 'hgbook.comments.views.chapter'),
    (r'chapter/(?P<id>[^/]+)/count/?$', 'hgbook.comments.views.single_com'),
    (r'single/(?P<id>[^/]+)/?$', 'hgbook.comments.views.single'),
    (r'submit/(?P<id>[^/]+)/?$', 'hgbook.comments.views.submit')
)