summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniyal <abbasi.daniyal98@gmail.com>2021-03-16 21:11:27 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-19 08:04:37 +0100
commit474cc420bf6bc1067e2aaa4b40cf6a08d62096f7 (patch)
tree1281ae03beab376bbc08c0741da3b91d285cc2e3 /docs
parent37044817f9a57126d655f216019e8c8cca7c151b (diff)
Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.core.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.0.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt
index 56197115c6..6f10124c0c 100644
--- a/docs/releases/4.0.txt
+++ b/docs/releases/4.0.txt
@@ -355,6 +355,13 @@ Miscellaneous
to ``reorder_tests()``. It now accepts an iterable of tests rather than a
test suite, and returns an iterator of tests.
+* Calling ``FileSystemStorage.delete()`` with an empty ``name`` now raises
+ ``ValueError`` instead of ``AssertionError``.
+
+* Calling ``EmailMultiAlternatives.attach_alternative()`` or
+ ``EmailMessage.attach()`` with an invalid ``content`` or ``mimetype``
+ arguments now raise ``ValueError`` instead of ``AssertionError``.
+
.. _deprecated-features-4.0:
Features deprecated in 4.0