# HG changeset patch # User amit@thunder # Date 1266779270 -19800 # Node ID 71038eb0e790de689913d6864a116ce26450d5ed # Parent ead1752a58a85565a627fe6a45036b73e87d3780 Testing diff -r ead1752a58a8 -r 71038eb0e790 SEESenv/web/hgbook/urls.py --- a/SEESenv/web/hgbook/urls.py Mon Feb 22 00:36:03 2010 +0530 +++ b/SEESenv/web/hgbook/urls.py Mon Feb 22 00:37:50 2010 +0530 @@ -10,19 +10,19 @@ } urlpatterns = patterns('', - (r'^/comments/', include('hgbook.comments.urls')), + (r'^comments/', include('hgbook.comments.urls')), - (r'^/feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', + (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), - (r'^/', 'hgbook.comments.views.index'), + (r'^$', 'hgbook.comments.views.index'), - (r'^/search/', 'hgbook.comments.views.search'), + (r'^search/', 'hgbook.comments.views.search'), # Only uncomment this for local testing without Apache. - (r'^/html/(?P.*)$', 'django.views.static.serve', + (r'^html/(?P.*)$', 'django.views.static.serve', {'document_root': os.path.realpath(os.path.dirname( sys.modules[__name__].__file__) + '/../html/')}), - (r'^/support/(?P.*)$', 'django.views.static.serve', + (r'^support/(?P.*)$', 'django.views.static.serve', {'document_root': os.path.realpath(os.path.dirname( sys.modules[__name__].__file__) + '/../support/')}),