[Django] #36972: Improve password prompt wording in createsuperuser management command

1 view
Skip to first unread message

Django

unread,
Mar 5, 2026, 4:18:28 PM (2 days ago) Mar 5
to django-...@googlegroups.com
#36972: Improve password prompt wording in createsuperuser management command
-------------------------------------+-------------------------------------
Reporter: Ketan Sahu | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.auth
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
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!
--
Ticket URL: <https://code.djangoproject.com/ticket/36972>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages