#35537: Use a namedtuple for email attachments and alternatives
-------------------------------------+-------------------------------------
Reporter: Sarah Boyce | Owner: Jake
Type: | Howard
Cleanup/optimization | Status: closed
Component: Core (Mail) | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"aba0e541caaa086f183197eaaca0ac20a730bbe4" aba0e54]:
{{{#!CommitTicketReference repository=""
revision="aba0e541caaa086f183197eaaca0ac20a730bbe4"
Fixed #35537 -- Changed EmailMessage.attachments and
EmailMultiAlternatives.alternatives to use namedtuples.
This makes it more descriptive to pull out the named fields.
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/35537#comment:4>