some changes to urls.py just testing
authoramit@thunder
Sun, 21 Feb 2010 18:11:55 +0530
changeset 8 d7db9561766e
parent 7 e9bf8b47a809
child 9 ab616eb10878
some changes to urls.py just testing
SEESenv/web/hgbook/urls.py
--- a/SEESenv/web/hgbook/urls.py	Sun Feb 21 18:00:14 2010 +0530
+++ b/SEESenv/web/hgbook/urls.py	Sun Feb 21 18:11:55 2010 +0530
@@ -10,19 +10,19 @@
     }
 
 urlpatterns = patterns('',
-    (r'^comments/', include('hgbook.comments.urls')),
+    (r'^/review/comments/', include('hgbook.comments.urls')),
 
-    (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
+    (r'^/review/feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
      {'feed_dict': feeds}),          
-    (r'^index$', 'hgbook.comments.views.index'), 
+    (r'^review/$', 'hgbook.comments.views.index'), 
 
-    (r'^search/', 'hgbook.comments.views.search'), 
+    (r'^/review/search/', 'hgbook.comments.views.search'), 
 
     # Only uncomment this for local testing without Apache.
-     (r'^html/(?P<path>.*)$', 'django.views.static.serve',
+     (r'^/review/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'^/review/support/(?P<path>.*)$', 'django.views.static.serve',
      {'document_root': os.path.realpath(os.path.dirname(
         sys.modules[__name__].__file__) + '/../support/')}),