[2.2.x] Doc'd --no-input option for createsuperuser.

Backport of 8dd5877f58 from master
This commit is contained in:
Hasan Ramezani 2019-07-11 10:25:40 +02:00 committed by Mariusz Felisiak
parent 1088a9777d
commit a39365c48e
1 changed files with 5 additions and 0 deletions

View File

@ -1537,6 +1537,11 @@ the new superuser account. When run non-interactively, no password
will be set, and the superuser account will not be able to log in until will be set, and the superuser account will not be able to log in until
a password has been manually set for it. a password has been manually set for it.
.. django-admin-option:: --noinput, --no-input
Suppresses all user prompts. If a suppressed prompt cannot be resolved
automatically, the command will exit with error code 1.
.. django-admin-option:: --username USERNAME .. django-admin-option:: --username USERNAME
.. django-admin-option:: --email EMAIL .. django-admin-option:: --email EMAIL