Opened 5 hours ago

Last modified 50 minutes ago

#36972 assigned New feature

Improve password prompt wording in createsuperuser management command — at Initial Version

Reported by: Ketan Sahu Owned by:
Component: contrib.auth Version: 6.0
Severity: Normal Keywords:
Cc: Ketan Sahu, Thibaud Colas Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When running python manage.py createsuperuser, the password prompt currently shows:
`
Password:
`
Nothing is printed while typing (for security), but many beginners might think the terminal has frozen or the command isn’t working, since there’s no hint that the input is hidden.

Suggestion:
Update the password prompt in the createsuperuser management command to something clearer, like:
`
Password (input hidden):
`
or
`
Password: [input hidden]
`

Benefit:

  • Makes clear that password input is working as intended, which is especially helpful for new users or beginners.
  • Prevents confusion that the terminal/command has frozen.
  • Brings Django’s CLI user experience in line with user-friendly conventions.

Contributor note:
I am ready to work on this improvement and would be happy to submit a pull request if this feature is approved or assigned to me.

Thank you for considering this suggestion!

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top