1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Stopped truncating AdminEmailHandler message subjects

Refs #26572, #17281. The RFC doesn't limit total length, just the line length
which is already taken care of by Python itself.
Thanks Tim Graham for the review.
This commit is contained in:
Claude Paroz
2016-05-03 18:22:46 +02:00
parent 31e0314979
commit c3e1086949
3 changed files with 6 additions and 27 deletions

View File

@@ -836,6 +836,10 @@ Miscellaneous
<django.core.files.storage.Storage.generate_filename>` instead. It
might be possible to use :attr:`~django.db.models.FileField.upload_to` also.
* The subject of mail sent by ``AdminEmailHandler`` is no longer truncated at
989 characters. If you were counting on a limited length, truncate the subject
yourself.
.. _deprecated-features-1.10:
Features deprecated in 1.10