# HG changeset patch # User Nishanth Amuluru # Date 1294378913 -19800 # Node ID 1ce8241a9628ca98861ac0273df02b35026e14c7 # Parent 8c2376baee94582b8df1d20f40b4ba0511fcef35 Removed the site url since it is the wrong way to use diff -r 8c2376baee94 -r 1ce8241a9628 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},