You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@AliLozano actually the message only gets processed and saved by the PersistentStorage, if the message level is in PERSISTENT_MESSAGE_LEVELS.
Therefor adding a custom persistant message level is currently not possible without overwriting the message storage.
I haven't tried yet, but reading through the code there is this in
Message
model:this would appear to make it impossible to define your own levels for persistent messages
this should either not be validated, or perhaps
LEVEL_CHOICES
could be provided as a default but overridable fromsettings.py
?The text was updated successfully, but these errors were encountered: