SEESenv/web/hgbook/comments/urls.py
author amit@thunder
Sun, 21 Feb 2010 13:14:37 +0530
changeset 6 1ce9b33fb6ff
parent 2 52d12eb31c30
permissions -rwxr-xr-x
sorted the problem related to paths
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     1
from django.conf.urls.defaults import *
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     2
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     3
urlpatterns = patterns('',
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     4
    (r'chapter/(?P<id>[^/]+)/?$', 'hgbook.comments.views.chapter'),
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     5
    (r'chapter/(?P<id>[^/]+)/count/?$', 'hgbook.comments.views.single_com'),
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     6
    (r'single/(?P<id>[^/]+)/?$', 'hgbook.comments.views.single'),
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     7
    (r'submit/(?P<id>[^/]+)/?$', 'hgbook.comments.views.submit')
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     8
)