--
Ticket URL: <https://code.djangoproject.com/ticket/33303>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
If you aren't planning to provide a patch (with a test), could you provide
some minimal code that demonstrates the issue?
--
Ticket URL: <https://code.djangoproject.com/ticket/33303#comment:1>
* cc: Claude Paroz (added)
* stage: Unreviewed => Accepted
Comment:
`LEVEL_TAGS` is a constant defined in the
`django.contrib.messages.storage.base module` that's why it needs to be
updated after changing `MESSAGE_TAGS` (see #16574 and
[https://github.com/django/django/blob/a7e7043c8746933dafce652507d3b821801cdc7d/tests/messages_tests/base.py#L25-L36
override_settings_tags()] hook). It should be possible to add a
`setting_changed` receiver and update `LEVEL_TAGS` when needed.
--
Ticket URL: <https://code.djangoproject.com/ticket/33303#comment:2>
* owner: nobody => Hasan Ramezani
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/15127 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33303#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33303#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"24b316536a7ee4c54a54f632de1852aecb4038c0" 24b31653]:
{{{
#!CommitTicketReference repository=""
revision="24b316536a7ee4c54a54f632de1852aecb4038c0"
Fixed #33303 -- Changed messages' level tags on MESSAGE_TAGS setting
change.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33303#comment:5>