diff -r 000000000000 -r 54f784230511 sphinx_django/urls.py~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sphinx_django/urls.py~ Thu Sep 30 11:36:30 2010 +0530 @@ -0,0 +1,25 @@ +from django.conf.urls.defaults import * +from django.contrib import admin +# Uncomment the next two lines to enable the admin: +# from django.contrib import admin +admin.autodiscover() + +urlpatterns = patterns('', + # Example: + # (r'^sphinx_django/', include('sphinx_django.foo.urls')), + + (r'^test/','sphinxcomment.views.test' ), + (r'chapter/', 'sphinxcomment.views.chapter'), + (r'count/', 'sphinxcomment.views.chapter_count'), + (r'single/(?P[^/]+)/?$', 'sphinxcomment.views.single'), + (r'submit/(?P[^/]+)/?$', 'sphinxcomment.views.submit'), + (r'^static/(?P.*)$', 'django.views.static.serve', + {'document_root': '/home/amit/review/sttp/_build/html/'}), + + # Uncomment the admin/doc line below and add 'django.contrib.admindocs' + # to INSTALLED_APPS to enable admin documentation: + # (r'^admin/doc/', include('django.contrib.admindocs.urls')), + + # Uncomment the next line to enable the admin: + (r'^admin/', include(admin.site.urls)), +)