mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
[3.2.x] Refs #31055 -- Doc'd 'databases' argument of check functions.
Backport of c8d3cbdba809285ced3d9ba3cbb63bec422b8e48 from main
This commit is contained in:
parent
1f86ff31b1
commit
54684a3ec0
@ -48,8 +48,14 @@ check function::
|
|||||||
|
|
||||||
The check function *must* accept an ``app_configs`` argument; this argument is
|
The check function *must* accept an ``app_configs`` argument; this argument is
|
||||||
the list of applications that should be inspected. If ``None``, the check must
|
the list of applications that should be inspected. If ``None``, the check must
|
||||||
be run on *all* installed apps in the project. The ``**kwargs`` argument is
|
be run on *all* installed apps in the project.
|
||||||
required for future expansion.
|
|
||||||
|
The check will receive a ``databases`` keyword argument. This is a list of
|
||||||
|
database aliases whose connections may be used to inspect database level
|
||||||
|
configuration. If ``databases`` is ``None``, the check must not use any
|
||||||
|
database connections.
|
||||||
|
|
||||||
|
The ``**kwargs`` argument is required for future expansion.
|
||||||
|
|
||||||
Messages
|
Messages
|
||||||
--------
|
--------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user