#19079: make USERNAME_FIELD a required attribute of user objects --------------------------------------+-------------------- Reporter: ptone | Owner: nobody Type: Cleanup/optimization | Status: new Component: contrib.auth | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- currently it is documented as required, but is not present in any base class
instead a number of places we fall back to looking for a 'username' attribute per: https://code.djangoproject.com/ticket/19077#comment:6 it would clean things up a bit to simply require this as a defined attribute, and represent it appropriately on the base classes -- Ticket URL: <https://code.djangoproject.com/ticket/19079> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.