Testing
authoramit@thunder
Mon, 22 Feb 2010 00:37:50 +0530
changeset 14 71038eb0e790
parent 13 ead1752a58a8
child 15 f2383fee6584
Testing
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<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/')}),