James Bennett  committed 4217c82

Initial implementation of activate() in the default backend. Signature of activate() is changing and will be documented shortly.

  • Participants
  • Parent commits 2728a87
  • Branches default

Comments (0)

Files changed (1)

File registration/backends/default/

             site = RequestSite(request)
         return RegistrationProfile.objects.create_inactive_user(username, email, password, site)
-    def activate(request):
+    def activate(request, activation_key):
         Given an HTTP request with an activation key in its URL, look
         up and activate the user account corresponding to that key (if
-        pass
+        return RegistrationProfile.objects.activate_user(activation_key)
     def registration_allowed(request):