From ad3a895432b1e6a4b7f8dcc82f5e548b4b0130c4 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 10 Jul 2015 10:37:25 -0400 Subject: [PATCH] [1.8.x] Fixed #25082 -- Documented where to register system checks. Backport of 074a82f49b1443e66885ea861bbd2d2cb04af43e from master --- docs/topics/checks.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() +` method. .. function:: register(*tags)(function)