core.checks.CheckMessage

class CheckMessage(level, msg, hint=None, obj=None, id=None) [source]

The warnings and errors raised by system checks must be instances of CheckMessage. An instance encapsulates a single reportable error or warning. It also provides context and hints applicable to the message, and a unique identifier that is used for filtering purposes.

Constructor arguments are:

doc_Django
2016-10-09 18:34:40
Comments
Leave a Comment

Please login to continue.