summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xurls.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 494838e..1f38f6e 100755
--- a/urls.py
+++ b/urls.py
@@ -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 @@ 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},
+ name='registration_register'),
)