Made a urls.py fix by adding ^$ to the home url mapper.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 05 Nov 2009 14:25:03 +0530
changeset 14 290f37228707
parent 13 1de2f4008a5d
child 15 07e4c036a0e7
Made a urls.py fix by adding ^$ to the home url mapper.
project/urls.py
--- a/project/urls.py	Thu Nov 05 14:20:58 2009 +0530
+++ b/project/urls.py	Thu Nov 05 14:25:03 2009 +0530
@@ -18,7 +18,7 @@
 # Blog & Admin
 urlpatterns = patterns(
     '',
-    url(r'', 
+    url(r'^$', 
         direct_to_template, {"template": "home.html"},
         name='home'),
     (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),