sphinx_django/urls.py~
changeset 3 de4a2ed2f34b
parent 2 f5e18f8ed036
equal deleted inserted replaced
2:f5e18f8ed036 3:de4a2ed2f34b
    12     (r'chapter/', 'sphinxcomment.views.chapter'),
    12     (r'chapter/', 'sphinxcomment.views.chapter'),
    13     (r'count/(?P<chapter_name>.+)?$', 'sphinxcomment.views.chapter_count'),                  
    13     (r'count/(?P<chapter_name>.+)?$', 'sphinxcomment.views.chapter_count'),                  
    14     (r'single/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.single'),
    14     (r'single/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.single'),
    15     (r'submit/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.submit'),
    15     (r'submit/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.submit'),
    16     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
    16     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
    17      {'document_root': '/home/amit/review/sttp_test/_build/commenthtml/'}),
    17      {'document_root': '/home/amit/review/st-scripts/_build/commenthtml'}),
    18                        
    18                        
    19     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    19     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    20     # to INSTALLED_APPS to enable admin documentation:
    20     # to INSTALLED_APPS to enable admin documentation:
    21     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    21     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    22 
    22 
    23     # Uncomment the next line to enable the admin:
    23     # Uncomment the next line to enable the admin:
    24      (r'^admin/', include(admin.site.urls)),
    24      (r'^admin/', include(admin.site.urls)),
       
    25      (r'^pages/_static/(?P<path>.*)$', 'django.views.static.serve',
       
    26      {'document_root': '/home/amit/review/st-scripts/_build/commenthtml/_static'}),
       
    27                     
       
    28      (r'^pages/(?P<path>.*)$', 'sphinxcomment.views.page'),
    25 )
    29 )