#19596: Django admin should use "_default_manager" not "objects" on csutom auth model class. -------------------------------------+------------------------------------- Reporter: anonymous | Owner: nobody Type: Bug | Status: closed Component: contrib.auth | Version: Severity: Release blocker | 1.5-beta-1 Keywords: auth, objects | Resolution: fixed Has patch: 1 | Triage Stage: Ready for Needs tests: 0 | checkin Easy pickings: 0 | Needs documentation: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Florian Apolloner <florian@…>): In [changeset:"5f3c45f7458825b5ca88fb60e5349762fb74d5ae"]: {{{ #!CommitTicketReference repository="" revision="5f3c45f7458825b5ca88fb60e5349762fb74d5ae" [1.5.X] Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app. This is needed to support custom user models which don't define a manager named `objects`. Backport of cc4de61a2b36abf418d6f4c720d9e62c405e0612 from master. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/19596#comment:8> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.