diff options
| author | Tim Graham <timograham@gmail.com> | 2015-07-10 10:37:25 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-07-10 10:37:25 -0400 |
| commit | 074a82f49b1443e66885ea861bbd2d2cb04af43e (patch) | |
| tree | 2061204dd61a4fadcb6bd99490d591fa879312af /docs | |
| parent | f0857c09fb51b21afb3e55da53bce962466af6d3 (diff) | |
Fixed #25082 -- Documented where to register system checks.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/checks.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/checks.txt b/docs/topics/checks.txt index c553577310..df790b0924 100644 --- a/docs/topics/checks.txt +++ b/docs/topics/checks.txt @@ -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) |
