--- 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<url>.*)/$', 'django.contrib.syndication.views.feed',
+ (r'^feeds/(?P<url>.*)/$', '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<path>.*)$', 'django.views.static.serve',
+ (r'^html/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': os.path.realpath(os.path.dirname(
sys.modules[__name__].__file__) + '/../html/')}),
- (r'^/support/(?P<path>.*)$', 'django.views.static.serve',
+ (r'^support/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': os.path.realpath(os.path.dirname(
sys.modules[__name__].__file__) + '/../support/')}),