mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27604 -- Used the cookie signer to sign message cookies.
Co-authored-by: Craig Anderson <craiga@craiga.id.au>
This commit is contained in:
committed by
Mariusz Felisiak
parent
bcc9fa2528
commit
8ae84156d6
@@ -46,6 +46,9 @@ details on these changes.
|
||||
|
||||
* The ``HttpRequest.is_ajax()`` method will be removed.
|
||||
|
||||
* Support for the pre-Django 3.1 encoding format of cookies values used by
|
||||
``django.contrib.messages.storage.cookie.CookieStorage`` will be removed.
|
||||
|
||||
See the :ref:`Django 3.1 release notes <deprecated-features-3.1>` for more
|
||||
details on these changes.
|
||||
|
||||
|
||||
@@ -482,6 +482,11 @@ Miscellaneous
|
||||
the new :meth:`.HttpRequest.accepts` method if your code depends on the
|
||||
client ``Accept`` HTTP header.
|
||||
|
||||
* The encoding format of cookies values used by
|
||||
:class:`~django.contrib.messages.storage.cookie.CookieStorage` is different
|
||||
from the format generated by older versions of Django. Support for the old
|
||||
format remains until Django 4.0.
|
||||
|
||||
.. _removed-features-3.1:
|
||||
|
||||
Features removed in 3.1
|
||||
|
||||
Reference in New Issue
Block a user