#35742: Apply UserAdmin add_form_template according to User model USERNAME_FIELD
-------------------------------------+-------------------------------------
     Reporter:  antoliny0919         |                    Owner:
         Type:                       |  antoliny0919
  Cleanup/optimization               |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:  UserAdmin,           |             Triage Stage:  Accepted
  add_form_template                  |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by antoliny0919):

 Replying to [comment:3 Clifford Gama]:
 > Hello @antoliny0919!
 >
 > Thank you for submitting this ticket and the accompanying PR.
 >
 > I am accepting the ticket as this seems to be a legitimate accessibility
 issue when USERNAME_FIELD
 > has been renamed, and I haven't found another ticket that deals with
 that specifically.
 >
 > To be clear: This is about how the prompt text on the user creation form
 does not respect the USERNAME_FIELD
 > and always says `First, enter a username and password. Then, you’ll be
 able to edit more user options.` with no
 > way to change that.

 Replying to [comment:5 Clifford Gama]:
 Thank you so much @Clifford Gama
 I checked the advice you gave me in PR.
 I also agree with the parts you advised and have revised the source code.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35742#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191d4f0f1fb-69b12177-c505-48c4-b807-a7038ba8f773-000000%40eu-central-1.amazonses.com.

Reply via email to