summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-04-26 16:37:57 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-04-30 10:48:30 +0200
commit6866c91b638de5368c18713fa851bfe56253ea55 (patch)
tree0d9003de07959a3bdb3be808fdff098dfa7c7fac /docs
parenteb16c7260e573ec513d84cb586d96bdf508f3173 (diff)
Fixed #30418 -- Added --skip-checks management command option.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt13
-rw-r--r--docs/releases/3.0.txt3
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index b531978dd6..a269f6f8c6 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1724,6 +1724,19 @@ Forces colorization of the command output if it would otherwise be disabled
as discussed in :ref:`syntax-coloring`. For example, you may want to pipe
colored output to another command.
+.. django-admin-option:: --skip-checks
+
+.. versionadded:: 3.0
+
+Skips running system checks prior to running the command. This option is only
+available if the
+:attr:`~django.core.management.BaseCommand.requires_system_checks` command
+attribute is set to ``True``.
+
+Example usage::
+
+ django-admin migrate --skip-checks
+
Extra niceties
==============
diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt
index e4a9789efb..66dfde0b5d 100644
--- a/docs/releases/3.0.txt
+++ b/docs/releases/3.0.txt
@@ -180,6 +180,9 @@ Management Commands
* :djadmin:`inspectdb` now introspects :class:`~django.db.models.OneToOneField`
when a foreign key has a unique or primary key constraint.
+* The new :option:`--skip-checks` option skips running system checks prior to
+ running the command.
+
Migrations
~~~~~~~~~~