sphinx_django/urls.py~
changeset 3 de4a2ed2f34b
parent 2 f5e18f8ed036
--- a/sphinx_django/urls.py~	Fri Oct 15 15:59:28 2010 +0530
+++ b/sphinx_django/urls.py~	Wed Oct 27 13:59:11 2010 +0530
@@ -14,7 +14,7 @@
     (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_test/_build/commenthtml/'}),
+     {'document_root': '/home/amit/review/st-scripts/_build/commenthtml'}),
                        
     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
     # to INSTALLED_APPS to enable admin documentation:
@@ -22,4 +22,8 @@
 
     # Uncomment the next line to enable the admin:
      (r'^admin/', include(admin.site.urls)),
+     (r'^pages/_static/(?P<path>.*)$', 'django.views.static.serve',
+     {'document_root': '/home/amit/review/st-scripts/_build/commenthtml/_static'}),
+                    
+     (r'^pages/(?P<path>.*)$', 'sphinxcomment.views.page'),
 )