Commits

Sergey Maranchuk  committed 0f1fdda

close #219: django-registration 0.8

  • Participants
  • Parent commits 899773a

Comments (0)

Files changed (2)

File basic_project/urls.py

 from django_authopenid.urls import urlpatterns as authopenid_urlpatterns
 for i, rurl in enumerate(authopenid_urlpatterns):
     if rurl.name == 'registration_register':
-        authopenid_urlpatterns[i].default_args.update({'form_class': RegistrationFormUtfUsername})
-#                                                  'backend': 'registration.backends.default.DefaultBackend'})
-#    elif rurl.name == 'registration_activate':
-#                authopenid_urlpatterns[i].default_args = {'backend': 'registration.backends.default.DefaultBackend'}
+        authopenid_urlpatterns[i].default_args.update({'form_class': RegistrationFormUtfUsername,
+                                                  'backend': 'registration.backends.default.DefaultBackend'})
+    elif rurl.name == 'registration_activate':
+                authopenid_urlpatterns[i].default_args = {'backend': 'registration.backends.default.DefaultBackend'}
 
 admin.autodiscover()
 

File requirements.txt

 Whoosh
-django-registration==0.7
+django-registration==0.8
 django-authopenid