#35742: Apply UserAdmin add_form_template according to User model USERNAME_FIELD
-------------------------------------+-------------------------------------
     Reporter:  antoliny0919         |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    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:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

 * needs_tests:  0 => 1
 * stage:  Unreviewed => Accepted
 * type:  New feature => Cleanup/optimization

Comment:

 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 issue 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.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35742#comment:3>
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/01070191d1c42fdc-de6f116b-4efe-4cc6-a24c-aec11c3be8b8-000000%40eu-central-1.amazonses.com.

Reply via email to