summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-07 11:11:53 +0530
committerNishanth Amuluru2011-01-07 11:11:53 +0530
commit745d5f4b89bd466ccbe2e41530b442bdf35b35f8 (patch)
tree884d2f4b012b28270046a342d7cd9e2f410ffc76
parentdf77db72e2faa672f1704cdd7a507865a8d5a603 (diff)
downloadpytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.tar.gz
pytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.tar.bz2
pytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.zip
Removed the site url since it is the wrong way to use
-rwxr-xr-xurls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 693ed6b..42f70d5 100755
--- a/urls.py
+++ b/urls.py
@@ -3,6 +3,8 @@ from django.conf.urls.defaults import *
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 @@ urlpatterns = patterns('',
# 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},