Re: [Django] #35742: Avoid refering to "username" in admin templates as USERNAME_FIELD can be updated (was: Django's UserAdmin improvement with dynamic value USERNAME_FIELD)

4 views
Skip to first unread message

Django

unread,
Oct 8, 2024, 2:14:27 AM10/8/24
to django-...@googlegroups.com
#35742: Avoid refering to "username" in admin templates as USERNAME_FIELD can be
updated
-------------------------------------+-------------------------------------
Reporter: antoliny0919 | Owner:
Type: | antoliny0919
Cleanup/optimization | Status: assigned
Component: contrib.auth | Version: 5.1
Severity: Normal | Resolution:
Keywords: UserAdmin, | Triage Stage: Accepted
USERNAME_FIELD |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* summary: Django's UserAdmin improvement with dynamic value
USERNAME_FIELD =>
Avoid refering to "username" in admin templates as USERNAME_FIELD can
be updated

Comment:

Updated the ticket description to reduce the scope overlap with #28608
--
Ticket URL: <https://code.djangoproject.com/ticket/35742#comment:26>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages