mirror of
https://github.com/django/django.git
synced 2025-09-25 07:59:11 +00:00
Refs #36163 -- Removed duplicated release note paragraph.
This commit is contained in:
parent
44addbf4e7
commit
2e870c6071
@ -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
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user