Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25082 closed Cleanup/optimization (fixed)

Document where to register system checks

Reported by: Johannes Maron Owned by: nobody
Component: Documentation Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The documentation for the system check framework doesn't say where to add the checks. Nor does the the topic guide.

Should it be in the __init__.py or apps.py?

I tested that it does not work to just put it into any file. As the file needs to be loaded by the app loader to register the check functions.

I guess more detail to regarding this topic would be helpful, as the refactoring in 1.8 is really cool and should allow people to write more checks for their 3rd party apps.

Cheers,
Joe

Attachments (1)

25082.diff (551 bytes ) - added by Tim Graham 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Tim Graham, 9 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

How does the attached patch look?

by Tim Graham, 9 years ago

Attachment: 25082.diff added

comment:2 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 074a82f:

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

comment:3 by Tim Graham <timograham@…>, 9 years ago

In ad3a895:

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

Backport of 074a82f49b1443e66885ea861bbd2d2cb04af43e from master

comment:4 by Tim Graham, 9 years ago

Summary: System check framework missing implementation detailsDocument where to register system checks
Note: See TracTickets for help on using tickets.
Back to Top