mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3.
Thanks tkrapp for the report and Tim Graham for the review.
This commit is contained in:
parent
44dc201cb6
commit
c6da621def
8 changed files with 63 additions and 3 deletions
BIN
tests/mail/attachments/file.png
Normal file
BIN
tests/mail/attachments/file.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 B |
1
tests/mail/attachments/file.txt
Normal file
1
tests/mail/attachments/file.txt
Normal file
|
@ -0,0 +1 @@
|
|||
django/django
|
BIN
tests/mail/attachments/file_png
Normal file
BIN
tests/mail/attachments/file_png
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 B |
BIN
tests/mail/attachments/file_png.txt
Normal file
BIN
tests/mail/attachments/file_png.txt
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 B |
1
tests/mail/attachments/file_txt
Normal file
1
tests/mail/attachments/file_txt
Normal file
|
@ -0,0 +1 @@
|
|||
django/django
|
1
tests/mail/attachments/file_txt.png
Normal file
1
tests/mail/attachments/file_txt.png
Normal file
|
@ -0,0 +1 @@
|
|||
django/django
|
Loading…
Add table
Add a link
Reference in a new issue