1
0
mirror of https://github.com/django/django.git synced 2025-04-04 21:46:40 +00:00

added ref docs

This commit is contained in:
Andrew Miller 2024-07-02 13:11:07 +01:00
parent 016cabdc3a
commit 364ff5782f

View File

@ -258,6 +258,11 @@ The ``Message`` class
the lowercase version of the name of the associated constant, but this
can be changed if you need by using the :setting:`MESSAGE_TAGS` setting.
* ``extra_kwargs``: This variable accepts all further keyword arguments
to the Message class. The default behaviour is that this does nothing,
but allows third-party storage classes to extend the behaviour of this
class.
Creating custom message levels
------------------------------