Undocumented
Class | MessageFailure |
Undocumented |
Function | add_message |
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_level |
Return the minimum level of messages to be recorded. |
Function | get_messages |
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_level |
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).