sphinx_django/urls.py~
changeset 2 f5e18f8ed036
parent 0 54f784230511
child 3 de4a2ed2f34b
--- a/sphinx_django/urls.py~	Thu Sep 30 15:59:32 2010 +0530
+++ b/sphinx_django/urls.py~	Fri Oct 15 15:59:28 2010 +0530
@@ -10,11 +10,11 @@
 
     (r'^test/','sphinxcomment.views.test' ),
     (r'chapter/', 'sphinxcomment.views.chapter'),
-    (r'count/', 'sphinxcomment.views.chapter_count'),                  
-    (r'single/(?P<id>[^/]+)/?$', 'sphinxcomment.views.single'),
-    (r'submit/(?P<id>[^/]+)/?$', 'sphinxcomment.views.submit'),
+    (r'count/(?P<chapter_name>.+)?$', 'sphinxcomment.views.chapter_count'),                  
+    (r'single/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.single'),
+    (r'submit/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.submit'),
     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
-     {'document_root': '/home/amit/review/sttp/_build/html/'}),
+     {'document_root': '/home/amit/review/sttp_test/_build/commenthtml/'}),
                        
     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
     # to INSTALLED_APPS to enable admin documentation: