summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2019-07-11 10:25:40 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-07-11 10:26:16 +0200
commita39365c48e5d322ff111fc698234b20c9bd5fc65 (patch)
tree677c61187fcc35c2027cd1b58a8a2c8bb968ee5d /docs/ref
parent1088a9777da86dbf398106761c776edab29b163b (diff)
[2.2.x] Doc'd --no-input option for createsuperuser.
Backport of 8dd5877f58f84f2b11126afbd0813e24545919ed from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index eabc3be460..c2094e962b 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -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
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:: --email EMAIL