Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd NameLoad NameLoad body Return Call AttributeLoad Str attr ListLoad NameLoad NameLoad orelse If NameLoad body Return NameLoad orelse If NameLoad body Return NameLoad Return Str decorator_list Assign NameStore Call NameLoad NameLoad decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpOr CompareIn NameLoad AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd CompareIs NameLoad NameLoad Call NameLoad NameLoad Str body Delete AttributeDel NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad NameLoad decorator_list
N/A __future__ unicode_literals django.conf settings django.utils.encoding force_text python_2_unicode_compatible django.contrib.messages constants utils N/A LEVEL_TAGS N/A N/A utils get_level_tags Message N/A object N/A N/A 
    Represents an actual message that can be stored in any of the supported
    storage classes (typically session- or cookie-based) and rendered in a view
    or template.
     __init__ N/A N/A self level message extra_tags N/A None N/A N/A N/A self level N/A int level N/A N/A self message message N/A N/A self extra_tags extra_tags N/A _prepare N/A N/A self N/A N/A N/A 
        Prepares the message for serialization by forcing the ``message``
        and ``extra_tags`` to unicode in case they are lazy translations.

        Known "safe" types (None, int, etc.) are not converted (see Django's
        ``force_text`` implementation for details).
         N/A N/A self message N/A force_text N/A self message strings_only True N/A N/A self extra_tags N/A force_text N/A self extra_tags strings_only True N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other Message N/A N/A self level N/A other level N/A N/A self message N/A other message N/A __str__ N/A N/A self N/A N/A N/A N/A force_text N/A self message N/A _get_tags N/A N/A self N/A N/A N/A label_tag N/A force_text N/A N/A LEVEL_TAGS get N/A self level strings_only True N/A extra_tags N/A force_text N/A self extra_tags strings_only True N/A N/A extra_tags label_tag N/A N/A N/A N/A join N/A extra_tags label_tag N/A N/A extra_tags N/A N/A extra_tags N/A N/A label_tag N/A N/A label_tag N/A N/A N/A tags N/A property _get_tags N/A python_2_unicode_compatible BaseStorage N/A object N/A N/A 
    This is the base backend for temporary message storage.

    This is not a complete class; to be a usable storage backend, it must be
    subclassed and the two methods ``_get`` and ``_store`` overridden.
     __init__ N/A N/A self request N/A args kwargs N/A N/A N/A self request request N/A N/A self _queued_messages N/A N/A N/A self used False N/A N/A self added_new False N/A N/A N/A N/A super BaseStorage self __init__ args kwargs N/A __len__ N/A N/A self N/A N/A N/A N/A N/A len N/A self _loaded_messages N/A len N/A self _queued_messages N/A __iter__ N/A N/A self N/A N/A N/A N/A self used True N/A N/A self _queued_messages N/A N/A N/A N/A N/A self _loaded_messages extend N/A self _queued_messages N/A N/A self _queued_messages N/A N/A N/A iter N/A self _loaded_messages N/A __contains__ N/A N/A self item N/A N/A N/A N/A N/A item N/A self _loaded_messages N/A item N/A self _queued_messages N/A _loaded_messages N/A N/A self N/A N/A N/A 
        Returns a list of loaded messages, retrieving them first if they have
        not been loaded yet.
         N/A N/A N/A hasattr self _loaded_data N/A N/A N/A messages all_retrieved N/A N/A self _get N/A N/A self _loaded_data N/A messages N/A N/A N/A self _loaded_data N/A property _get N/A N/A self N/A args kwargs N/A N/A 
        Retrieves a list of stored messages. Returns a tuple of the messages
        and a flag indicating whether or not all the messages originally
        intended to be stored in this storage were, in fact, stored and
        retrieved; e.g., ``(messages, all_retrieved)``.

        **This method must be implemented by a subclass.**

        If it is possible to tell if the backend was not used (as opposed to
        just containing no messages) then ``None`` should be returned in
        place of ``messages``.
         N/A N/A NotImplementedError N/A _store N/A N/A self messages response N/A args kwargs N/A N/A 
        Stores a list of messages, returning a list of any messages which could
        not be stored.

        One type of object must be able to be stored, ``Message``.

        **This method must be implemented by a subclass.**
         N/A N/A NotImplementedError N/A _prepare_messages N/A N/A self messages N/A N/A N/A 
        Prepares a list of messages for storage.
         N/A message messages N/A N/A N/A N/A message _prepare N/A update N/A N/A self response N/A N/A N/A 
        Stores all unread messages.

        If the backend has yet to be iterated, previously stored messages will
        be stored again. Otherwise, only messages added after the last
        iteration will be stored.
         N/A N/A N/A self _prepare_messages N/A self _queued_messages N/A N/A self used N/A N/A N/A N/A self _store N/A self _queued_messages response N/A N/A N/A self added_new N/A N/A messages N/A N/A self _loaded_messages N/A self _queued_messages N/A N/A N/A self _store messages response N/A add N/A N/A self level message extra_tags N/A N/A N/A 
        Queues a message to be stored.

        The message is only queued if it contained something and its level is
        not less than the recording level (``self.level``).
         N/A N/A message N/A N/A N/A level N/A int level N/A N/A level N/A self level N/A N/A N/A N/A self added_new True N/A message N/A Message level message extra_tags extra_tags N/A N/A N/A N/A self _queued_messages append message N/A _get_level N/A N/A self N/A N/A N/A 
        Returns the minimum recorded level.

        The default level is the ``MESSAGE_LEVEL`` setting. If this is
        not found, the ``INFO`` level is used.
         N/A N/A N/A hasattr self _level N/A N/A N/A self _level N/A getattr settings MESSAGE_LEVEL N/A constants INFO N/A N/A self _level N/A _set_level N/A N/A self value N/A None N/A N/A 
        Sets a custom minimum recorded level.

        If set to ``None``, the default level will be used (see the
        ``_get_level`` method).
         N/A N/A N/A value None N/A hasattr self _level N/A N/A N/A self _level N/A N/A N/A self _level N/A int value N/A N/A level N/A property _get_level _set_level _set_level N/A