1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Refs #26351 -- Added check hook to support database-related checks

Thanks Tim Graham and Shai Berger for the reviews.
This commit is contained in:
Claude Paroz
2016-03-19 12:15:09 +01:00
parent 5ac7c8f7ab
commit 0d3c616fbb
9 changed files with 85 additions and 9 deletions

View File

@@ -84,6 +84,14 @@ Django's system checks are organized using the following tags:
* ``templates``: Checks template related configuration.
* ``caches``: Checks cache related configuration.
* ``urls``: Checks URL configuration.
* ``database``: Checks database-related configuration issues. Database checks
are not run by default because they do more than static code analysis as
regular checks do. They are only run by the :djadmin:`migrate` command or if
you specify the ``database`` tag when calling the :djadmin:`check` command.
.. versionadded:: 1.10
The ``database`` tag was added.
Some checks may be registered with multiple tags.