Commits

Anonymous committed 2ccbbb8

Minor bug in docstring

  • Participants
  • Parent commits 910128b

Comments (0)

Files changed (2)

     If the key is not valid or has expired, returns ``False``.
     
     If the key is valid but the ``User`` is already active, returns
-    the ``User``.
+    ``False``.
 
 ``create_inactive_user(username, password, email, send_email=True, profile_callback=None)``
     Creates a new, inactive ``User``, generates a

registration/models.py

         If the key is not valid or has expired, returns ``False``.
         
         If the key is valid but the ``User`` is already active,
-        returns the ``User``.
+        returns ``False``.
         
         """
         # Make sure the key we're trying conforms to the pattern of a