class storage.session.SessionStorage This class stores all messages inside of the request’s session. Therefore it requires Django’s
class storage.cookie.CookieStorage This class stores the message data in a cookie (signed with a secret hash to prevent manipulation)
class storage.base.Message When you loop over the list of messages in a template, what you get are instances of the Message
get_messages(request) [source] In your template, use something like:
class storage.base.BaseStorage To write your own storage class, subclass the BaseStorage class in django
class storage.fallback.FallbackStorage This class first uses CookieStorage, and falls back to using SessionStorage
class views.SuccessMessageMixin Adds a success message attribute to
get_success_message(cleaned_data) cleaned_data is the cleaned data from the form which is used for string formatting
add_message(request, level, message, extra_tags='', fail_silently=False) [source]