[4.2.x] Refs #34118, Refs #34504 -- Added backward incompatibility note about EmailBackend.ssl_context.

Follow up to 2848e5d0ce.
Backport of 5a6d4d3bfd from main
This commit is contained in:
Mariusz Felisiak 2023-04-28 13:04:08 +02:00
parent 88f23b6b81
commit 4f343a10f7
1 changed files with 6 additions and 0 deletions

View File

@ -467,6 +467,12 @@ Miscellaneous
* Support for ``PROJ`` < 5 is removed. * Support for ``PROJ`` < 5 is removed.
* :class:`~django.core.mail.backends.smtp.EmailBackend` now verifies a
:py:attr:`hostname <ssl.SSLContext.check_hostname>` and
:py:attr:`certificates <ssl.SSLContext.verify_mode>`. If you need the
previous behavior that is less restrictive and not recommended, subclass
``EmailBackend`` and override the ``ssl_context`` property.
.. _deprecated-features-4.2: .. _deprecated-features-4.2:
Features deprecated in 4.2 Features deprecated in 4.2