Removed the site url since it is the wrong way to use
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 11:11:53 +0530
changeset 265 1ce8241a9628
parent 264 8c2376baee94
child 266 4dfcc826b241
Removed the site url since it is the wrong way to use
urls.py
--- a/urls.py	Fri Jan 07 11:07:21 2011 +0530
+++ b/urls.py	Fri Jan 07 11:11:53 2011 +0530
@@ -3,6 +3,8 @@
 from registration.views import register
 from pytask.profile.forms import CustomRegistrationForm
 
+from django.shortcuts import redirect
+
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
 # admin.autodiscover()
@@ -16,7 +18,6 @@
 
     # Uncomment the next line to enable the admin:
     # (r'^admin/', include(admin.site.urls)),
-    url(r'localhost:8000', None, name="site"),
 
     url(r'^accounts/register/$', register,
         {'form_class': CustomRegistrationForm},