diff options
Diffstat (limited to 'docs/releases/4.2.txt')
| -rw-r--r-- | docs/releases/4.2.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index 37cf228dc7..de65236914 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -475,8 +475,8 @@ 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 + :attr:`hostname <ssl.SSLContext.check_hostname>` and + :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. @@ -564,7 +564,7 @@ Miscellaneous * The ``BaseUserManager.make_random_password()`` method is deprecated. See `recipes and best practices <https://docs.python.org/3/library/secrets.html#recipes-and-best-practices>`_ - for using Python's :py:mod:`secrets` module to generate passwords. + for using Python's :mod:`secrets` module to generate passwords. * The ``length_is`` template filter is deprecated in favor of :tfilter:`length` and the ``==`` operator within an :ttag:`{% if %}<if>` tag. For example |
