#32035: AbstractUser.clean assumes default manager is named objects
------------------------------+--------------------------------------
     Reporter:  Ben Brooks    |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  contrib.auth  |                  Version:  3.1
     Severity:  Normal        |               Resolution:  needsinfo
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  1             |                    UI/UX:  0
------------------------------+--------------------------------------

Comment (by Carlton Gibson):

 > If people want a different name for the default manager they should
 extend AbstractBaseUser instead.

 So that was my thought yeah...

 ([https://docs.djangoproject.com/en/3.1/topics/auth/customizing/#specifying-a
 -custom-user-model Specifying a custom user model] says to use
 `AbstractBaseUser` from `django.contrib.auth.base_user`)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32035#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.176a99fbe4c52b07bacacaa0d9a78911%40djangoproject.com.

Reply via email to