mirror of https://github.com/django/django.git
[4.2.x] Refs #34118, Refs #34504 -- Added backward incompatibility note about EmailBackend.ssl_context.
Follow up to2848e5d0ce
. Backport of5a6d4d3bfd
from main
This commit is contained in:
parent
88f23b6b81
commit
4f343a10f7
|
@ -467,6 +467,12 @@ Miscellaneous
|
|||
|
||||
* 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:
|
||||
|
||||
Features deprecated in 4.2
|
||||
|
|
Loading…
Reference in New Issue