#16163: createsuperuser management command doesn't accept a password
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Component: contrib.auth
Milestone: | Severity: Normal
Version: 1.3 | Keywords:
Resolution: invalid | Has patch: 0
Triage Stage: | Needs tests: 0
Unreviewed | Easy pickings: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: new => closed
* resolution: => invalid
Comment:
I think the `--password` option is not made available by design.
It is a bad practice to allow passing passwords on the command line,
because the password will end up in clear text in your
`~/.${SHELL}_history`.
Line 58 only ensures that `password` is initialized before line 117. It is
useful when `interactive` is `False`.
Take a look at r15631. The comment was written to explain why the default
value is `None` and not `''`. Granted, it's not very clear.
--
Ticket URL: <https://code.djangoproject.com/ticket/16163#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.