Commit 074a82f4 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #25082 -- Documented where to register system checks.

parent f0857c09
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)