Commit ad3a8954 authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed #25082 -- Documented where to register system checks.

Backport of 074a82f4 from master
parent 2733c32b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)