diff options
| author | Abhyudai <13880786+abhiabhi94@users.noreply.github.com> | 2021-04-21 20:10:04 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-21 16:40:33 +0200 |
| commit | 7d7c6d9a3a75f7e0dfe1e7fb992e3c3a6068a87e (patch) | |
| tree | 564388d6f0f60479ffa822b1d1695cb27c303d1b | |
| parent | 48e19bae49f271cccbb8a8f4549c9366b7cecac6 (diff) | |
[3.2.x] Fixed #32667 -- Added link to labeling checks in BaseCommand.requires_system_checks docs.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 4a77aeb1f86bc06e18023cac10109e067ed20800 from main
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 7 | ||||
| -rw-r--r-- | docs/topics/checks.txt | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -12,6 +12,7 @@ answer newbie questions, and generally made Django that much better: Abhijeet Viswa <abhijeetviswa@gmail.com> Abhinav Patil <https://github.com/ubadub/> Abhishek Gautam <abhishekg1128@yahoo.com> + Abhyudai <https://github.com/abhiabhi94> Adam Allred <adam.w.allred@gmail.com> Adam BogdaĆ <adam@bogdal.pl> Adam Donaghy diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 56db507689..5510894ffc 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 ------------------------------- |
