class SessionStorage(BaseStorage):
Method | __init__ |
Undocumented |
Method | _get |
Retrieve a list of messages from the request's session. This storage always stores everything it is given, so return True for the all_retrieved flag. |
Method | _store |
Store a list of messages to the request's session. |
Method | deserialize_messages |
Undocumented |
Method | serialize_messages |
Undocumented |
Class Variable | session_key |
Undocumented |
Inherited from BaseStorage
:
Method | __contains__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | _get_level |
Return the minimum recorded level. |
Method | _prepare_messages |
Prepare a list of messages for storage. |
Method | _set_level |
Set a custom minimum recorded level. |
Method | add |
Queue a message to be stored. |
Method | update |
Store all unread messages. |
Class Variable | level |
Undocumented |
Instance Variable | _level |
Undocumented |
Instance Variable | _queued_messages |
Undocumented |
Instance Variable | added_new |
Undocumented |
Instance Variable | request |
Undocumented |
Instance Variable | used |
Undocumented |
Property | _loaded_messages |
Return a list of loaded messages, retrieving them first if they have not been loaded yet. |