mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Fixed #25082 -- Documented where to register system checks.
This commit is contained in:
parent
f0857c09fb
commit
074a82f49b
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ Registering and labeling checks
|
|||
-------------------------------
|
||||
|
||||
Lastly, your check function must be registered explicitly with system check
|
||||
registry.
|
||||
registry. Checks should be registered in a file that's loaded when your
|
||||
application is loaded; for example, in the :meth:`AppConfig.ready()
|
||||
<django.apps.AppConfig.ready>` method.
|
||||
|
||||
.. function:: register(*tags)(function)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue