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:38:38 -0400 |
| commit | ad3a895432b1e6a4b7f8dcc82f5e548b4b0130c4 (patch) | |
| tree | 7eea5d89f93e1cbeab470de2392d07fbdda33c54 /docs | |
| parent | 2733c32ba9bfddf0554a437b611fb26abbaad714 (diff) | |
[1.8.x] Fixed #25082 -- Documented where to register system checks.
Backport of 074a82f49b1443e66885ea861bbd2d2cb04af43e from master
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 56bb6dfc07..b840c4b942 100644 --- a/docs/topics/checks.txt +++ b/docs/topics/checks.txt @@ -124,7 +124,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) |
