1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00

Fixed #32667 -- Added link to labeling checks in BaseCommand.requires_system_checks docs.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
Abhyudai 2021-04-21 20:10:04 +05:30 committed by GitHub
parent 0461b7a6b6
commit 4a77aeb1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -77,6 +77,8 @@ implied by the class name.
* :class:`Error`
* :class:`Critical`
.. _registering-labeling-checks:
Registering and labeling checks
-------------------------------