diff options
| author | Abhyudai <13880786+abhiabhi94@users.noreply.github.com> | 2021-04-21 20:10:04 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 16:40:04 +0200 |
| commit | 4a77aeb1f86bc06e18023cac10109e067ed20800 (patch) | |
| tree | 7472d39d2f8bba10351e5060910a4a4531748d6c /docs | |
| parent | 0461b7a6b62a5acd0db47f8dd76f3dfe7c62b0f5 (diff) | |
Fixed #32667 -- Added link to labeling checks in BaseCommand.requires_system_checks docs.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 7 | ||||
| -rw-r--r-- | docs/topics/checks.txt | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 5d1a8ddd2d..e80540afaa 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -218,9 +218,10 @@ All attributes can be set in your derived class and can be used in .. attribute:: BaseCommand.requires_system_checks A list or tuple of tags, e.g. ``[Tags.staticfiles, Tags.models]``. System - checks registered in the chosen tags will be checked for errors prior to - executing the command. The value ``'__all__'`` can be used to specify - that all system checks should be performed. Default value is ``'__all__'``. + checks :ref:`registered in the chosen tags <registering-labeling-checks>` + will be checked for errors prior to executing the command. The value + ``'__all__'`` can be used to specify that all system checks should be + performed. Default value is ``'__all__'``. .. versionchanged:: 3.2 diff --git a/docs/topics/checks.txt b/docs/topics/checks.txt index 438139ad31..1a5594fc27 100644 --- a/docs/topics/checks.txt +++ b/docs/topics/checks.txt @@ -77,6 +77,8 @@ implied by the class name. * :class:`Error` * :class:`Critical` +.. _registering-labeling-checks: + Registering and labeling checks ------------------------------- |
