added the url for creating a login
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 09:57:52 +0530
changeset 21 3efb40900b87
parent 20 0e8d0f5474f2
child 22 8b891483e052
added the url for creating a login
urls.py
--- a/urls.py	Fri Jan 07 09:54:46 2011 +0530
+++ b/urls.py	Fri Jan 07 09:57:52 2011 +0530
@@ -1,5 +1,8 @@
 from django.conf.urls.defaults import *
 
+from registration.views import register
+from pytask.profile.forms import CustomRegistrationForm
+
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
 # admin.autodiscover()
@@ -14,4 +17,8 @@
     # 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},
+        name='registration_register'),
 )