1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +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> Abhijeet Viswa <abhijeetviswa@gmail.com>
Abhinav Patil <https://github.com/ubadub/> Abhinav Patil <https://github.com/ubadub/>
Abhishek Gautam <abhishekg1128@yahoo.com> Abhishek Gautam <abhishekg1128@yahoo.com>
Abhyudai <https://github.com/abhiabhi94>
Adam Allred <adam.w.allred@gmail.com> Adam Allred <adam.w.allred@gmail.com>
Adam Bogdał <adam@bogdal.pl> Adam Bogdał <adam@bogdal.pl>
Adam Donaghy 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 .. attribute:: BaseCommand.requires_system_checks
A list or tuple of tags, e.g. ``[Tags.staticfiles, Tags.models]``. System 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 checks :ref:`registered in the chosen tags <registering-labeling-checks>`
executing the command. The value ``'__all__'`` can be used to specify will be checked for errors prior to executing the command. The value
that all system checks should be performed. Default value is ``'__all__'``. ``'__all__'`` can be used to specify that all system checks should be
performed. Default value is ``'__all__'``.
.. versionchanged:: 3.2 .. versionchanged:: 3.2

View File

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