Skip to main content

info

Add a message with the INFO level.

def info(
request: HttpRequest,
message: str,
extra_tags: str = "",
fail_silently: bool = False
) - > null

Add a message with the INFO level.

Parameters

NameTypeDescription
requestHttpRequestThe current HTTP request object used to retrieve the message storage backend.
messagestrThe content of the informational message to be displayed to the user.
extra_tagsstr = ""Space-separated string of custom CSS classes or identifiers to apply to the message for filtering or styling.
fail_silentlybool = FalseIf True, suppresses the MessageFailure exception if the message storage backend has not been configured.

Returns

TypeDescription
nullNothing is returned; the message is added to the request's message storage.