9526289b76
In Django 3.2 CookieStorage stores messages in the RFC 6265 compliant
format [1][2]. This means that horizon messages pass through cookies are
encoded in a different way that messages are encrypted.
Previously horizon UT interpretes messages in cookies literally in its own way,
but the change on CookieStorage in Django 3.2 broke it. Horizon should not
depend on its own way. The suggested way I believe is to use a method defined
in django.contrib.messages.storage.cookie.CookieStorage.
[1] https://docs.djangoproject.com/en/3.2/releases/3.2/#miscellaneous
[2]
|
||
---|---|---|
.. | ||
integration_tests | ||
jasmine | ||
selenium | ||
templates | ||
test_data | ||
test_panels | ||
test_plugins | ||
unit | ||
__init__.py | ||
error_pages_urls.py | ||
extensible_header_urls.py | ||
helpers.py | ||
settings.py | ||
urls.py |