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

Fixed #36163 -- Deprecated most positional arguments in django.core.mail.

In public mail APIs, changed less frequently used parameters from
keyword-or-positional to keyword-only, emitting a warning during the
required deprecation period.
This commit is contained in:
Mike Edmunds
2025-07-16 15:01:49 -07:00
committed by nessita
parent 5289ce65b9
commit fc793fc303
7 changed files with 277 additions and 39 deletions

View File

@@ -1266,7 +1266,7 @@ class PasswordResetFormTest(TestDataMixin, TestCase):
"Sorry to hear you forgot your password.",
None,
[to_email],
["site_monitor@example.com"],
bcc=["site_monitor@example.com"],
headers={"Reply-To": "webmaster@example.com"},
alternatives=[
("Really sorry to hear you forgot your password.", "text/html")