aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'euscanwww/euscan_captcha/urls.py')
-rw-r--r--euscanwww/euscan_captcha/urls.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/euscanwww/euscan_captcha/urls.py b/euscanwww/euscan_captcha/urls.py
index 76cbd2e..435ba5c 100644
--- a/euscanwww/euscan_captcha/urls.py
+++ b/euscanwww/euscan_captcha/urls.py
@@ -1,12 +1,10 @@
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
-from registration.views import register
+from views import RecaptchaRegistrationView
-urlpatterns = patterns('',
- url(
+urlpatterns = patterns(
+ '', url(
r'^register/$',
- register,
- {'backend': 'euscanwww.captcha.CaptchaDefaultBackend'},
- name='registration_register'
- ),
+ RecaptchaRegistrationView.as_view(),
+ name='registration_register'),
)