mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #25350 -- Added alias --no-input for --noinput to management commands.
This commit is contained in:
parent
25c157e4cc
commit
1bbca7961c
11 changed files with 29 additions and 10 deletions
|
@ -90,7 +90,12 @@ Some commonly used options are:
|
|||
|
||||
.. django-admin-option:: --noinput
|
||||
|
||||
Do NOT prompt the user for input of any kind.
|
||||
Do NOT prompt the user for input of any kind. You can use ``--no-input``
|
||||
as an alias for this option.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The ``--no-input`` alias was added.
|
||||
|
||||
.. django-admin-option:: -i <pattern>
|
||||
.. django-admin-option:: --ignore <pattern>
|
||||
|
|
|
@ -1552,7 +1552,12 @@ If not provided all locales are processed.
|
|||
|
||||
Use the ``--noinput`` option to suppress all user prompting, such as "Are
|
||||
you sure?" confirmation messages. This is useful if ``django-admin`` is
|
||||
being executed as an unattended, automated script.
|
||||
being executed as an unattended, automated script. You can use ``--no-input``
|
||||
as an alias for this option.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The ``--no-input`` alias was added.
|
||||
|
||||
Extra niceties
|
||||
==============
|
||||
|
|
|
@ -418,6 +418,9 @@ Management Commands
|
|||
* The ``django`` package may be run as a script, i.e. ``python -m django``,
|
||||
which will behave the same as ``django-admin``.
|
||||
|
||||
* Management commands that have the ``--noinput`` option now also take
|
||||
``--no-input`` as an alias for that option.
|
||||
|
||||
Migrations
|
||||
^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue