1
0
mirror of https://github.com/django/django.git synced 2025-09-25 07:59:11 +00:00

[6.0.x] Refs #36163 -- Removed duplicated release note paragraph.

Backport of 2e870c60718888067249f7f2c2e40e8eac3d13bc from main
This commit is contained in:
Adam Johnson 2025-09-23 17:28:38 +01:00 committed by Mariusz Felisiak
parent da914cd12e
commit f39eb730fb

View File

@ -492,7 +492,7 @@ Positional arguments in ``django.core.mail`` APIs
:mod:`django.core.mail` APIs now require keyword arguments for less commonly :mod:`django.core.mail` APIs now require keyword arguments for less commonly
used parameters. Using positional arguments for these now emits a deprecation used parameters. Using positional arguments for these now emits a deprecation
warning and will raise a :exc:`TypeError` when the deprecation period ends. warning and will raise a :exc:`TypeError` when the deprecation period ends:
* All *optional* parameters (``fail_silently`` and later) must be passed as * All *optional* parameters (``fail_silently`` and later) must be passed as
keyword arguments to :func:`get_connection`, :func:`mail_admins`, keyword arguments to :func:`get_connection`, :func:`mail_admins`,
@ -503,10 +503,6 @@ warning and will raise a :exc:`TypeError` when the deprecation period ends.
the first four (``subject``, ``body``, ``from_email``, and ``to``), which may the first four (``subject``, ``body``, ``from_email``, and ``to``), which may
still be passed either as positional or keyword arguments. still be passed either as positional or keyword arguments.
* :mod:`django.core.mail` APIs now require keyword arguments for less commonly
used parameters. Using positional arguments for these now emits a deprecation
warning and will raise a :exc:`TypeError` when the deprecation period ends:
Miscellaneous Miscellaneous
------------- -------------