﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36309	EmailAlternative is not serializable	Florent Messa	Natalia Bidart	"Since 5.2, the type `EmailAlternative` has been introduced but it doesn't seem to be serializable due to its typename.


{{{
In [1]: from django.core.mail.message import EmailAlternative

In [2]: import pickle

In [3]: pickle.loads(pickle.dumps(EmailAlternative('test', 'test')))
---------------------------------------------------------------------------
PicklingError                             Traceback (most recent call last)
Cell In[3], line 1
----> 1 pickle.loads(pickle.dumps(EmailAlternative('test', 'test')))

PicklingError: Can't pickle <class 'django.core.mail.message.Alternative'>: attribute lookup Alternative on django.core.mail.message failed
}}}

I have already the patch, the typename should be updated for both `EmailAlternative` and `EmailAttachment`."	Bug	closed	Core (Mail)	5.2	Release blocker	fixed		Jake Howard Mike Edmunds	Ready for checkin	1	0	0	0	0	0
