diff options
author | Nishanth Amuluru | 2011-01-07 11:11:53 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2011-01-07 11:11:53 +0530 |
commit | 745d5f4b89bd466ccbe2e41530b442bdf35b35f8 (patch) | |
tree | 884d2f4b012b28270046a342d7cd9e2f410ffc76 | |
parent | df77db72e2faa672f1704cdd7a507865a8d5a603 (diff) | |
download | pytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.tar.gz pytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.tar.bz2 pytask-745d5f4b89bd466ccbe2e41530b442bdf35b35f8.zip |
Removed the site url since it is the wrong way to use
-rwxr-xr-x | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}, |