From 4a77aeb1f86bc06e18023cac10109e067ed20800 Mon Sep 17 00:00:00 2001 From: Abhyudai <13880786+abhiabhi94@users.noreply.github.com> Date: Wed, 21 Apr 2021 20:10:04 +0530 Subject: [PATCH] Fixed #32667 -- Added link to labeling checks in BaseCommand.requires_system_checks docs. Co-authored-by: Mariusz Felisiak --- AUTHORS | 1 + docs/howto/custom-management-commands.txt | 7 ++++--- docs/topics/checks.txt | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 16e8aee961..f99a2c44ff 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,6 +12,7 @@ answer newbie questions, and generally made Django that much better: Abhijeet Viswa Abhinav Patil Abhishek Gautam + Abhyudai Adam Allred Adam BogdaƂ Adam Donaghy 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 ` + 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 -------------------------------