我在模板文件夹中添加了以下子文件夹和文件,以便覆盖电子邮件消息(根据文档https://github.com/pennersr/django-allauth#sending-e-mail)a):
templates/
account/
email/
email_confirmation_message.html
email_confirmation_message.txt
email_confirmation_subject.txt
覆盖对于邮件的*.txt版本完美运作(我认为这意味着我有正确的文件夹结构),但我的问题是HTML版本未被django_allauth发送过去。