Sergey Maranchuk avatar Sergey Maranchuk committed db97df9

close #50. Now required django-registration==0.8

Comments (0)

Files changed (2)


 urlpatterns = patterns('',
     # django registration activate
-    url(r'^activate/(?P<activation_key>\w+)/$', reg_views.activate, name='registration_activate'),
+    url(r'^activate/(?P<activation_key>\w+)/$',
+        reg_views.activate,
+        {'backend': 'registration.backends.default.DefaultBackend'},
+        name='registration_activate'),
     # user profile
     url(r'^signout/$', oid_views.signout, name='user_signout'),
     url(r'^signin/complete/$', oid_views.complete_signin, name='user_complete_signin'),
     url(r'^signin/$', oid_views.signin, name='user_signin'),
-    url(r'^signup/$', reg_views.register, name='registration_register'),
+    url(r'^signup/$',
+        reg_views.register,
+        {'backend': 'registration.backends.default.DefaultBackend'},
+        name='registration_register'),
         {'template': 'registration/registration_complete.html'},


 To use django-authopenid you will need **Python 2.5** or later, `Django`_ 1.0 or later,
-`django-registration`_ not less than 0.7 and `python-openid`_ 2.2.1 or later. 
+`django-registration`_ 0.8 and `python-openid`_ 2.2.1 or later. 
 .. _cheeseshop:
 .. _easy_install:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.