module documentation
Undocumented
Exception |
|
Undocumented |
Function | add |
Attempt to add a message to the request using the 'messages' app. |
Function | debug |
Add a message with the ``DEBUG`` level. |
Function | error |
Add a message with the ``ERROR`` level. |
Function | get |
Return the minimum level of messages to be recorded. |
Function | get |
Return the message storage on the request if it exists, otherwise return an empty list. |
Function | info |
Add a message with the ``INFO`` level. |
Function | set |
Set the minimum level of messages to be recorded, and return ``True`` if the level was recorded successfully. |
Function | success |
Add a message with the ``SUCCESS`` level. |
Function | warning |
Add a message with the ``WARNING`` level. |
Return the minimum level of messages to be recorded. The default level is the ``MESSAGE_LEVEL`` setting. If this is not found, use the ``INFO`` level.
Set the minimum level of messages to be recorded, and return ``True`` if the level was recorded successfully. If set to ``None``, use the default level (see the get_level() function).