diff options
| author | Jake Howard <git@theorangeone.net> | 2024-06-09 09:09:07 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-06-20 09:43:40 +0200 |
| commit | aba0e541caaa086f183197eaaca0ac20a730bbe4 (patch) | |
| tree | 7178521b84f461c95903cbbb5c03b76b9b39a86f /docs/releases | |
| parent | 9691a00d5839e6137a2716526277013af9ee97ff (diff) | |
Fixed #35537 -- Changed EmailMessage.attachments and EmailMultiAlternatives.alternatives to use namedtuples.
This makes it more descriptive to pull out the named fields.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/5.2.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt index e0f190076a..61101ce1fd 100644 --- a/docs/releases/5.2.txt +++ b/docs/releases/5.2.txt @@ -133,7 +133,15 @@ Decorators Email ~~~~~ -* ... +* Tuple items of :class:`EmailMessage.attachments + <django.core.mail.EmailMessage>` and + :class:`EmailMultiAlternatives.attachments + <django.core.mail.EmailMultiAlternatives>` are now named tuples, as opposed + to regular tuples. + +* :attr:`EmailMultiAlternatives.alternatives + <django.core.mail.EmailMultiAlternatives.alternatives>` is now a list of + named tuples, as opposed to regular tuples. Error Reporting ~~~~~~~~~~~~~~~ |
