Skip to content

Commit

Permalink
Allow passing None as from_email to send_mass_mail (#281)
Browse files Browse the repository at this point in the history
When given None as from_email Django uses the DEFAULT_FROM_EMAIL setting.
  • Loading branch information
pappnu authored Jan 14, 2025
1 parent 22129b3 commit d6d8464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/core/mail/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def send_mail(
html_message: str | None = ...,
) -> int: ...
def send_mass_mail(
datatuple: list[tuple[str, str, str, list[str]]],
datatuple: list[tuple[str, str, str | None, list[str]]],
fail_silently: bool = ...,
auth_user: str | None = ...,
auth_password: str | None = ...,
Expand Down

0 comments on commit d6d8464

Please sign in to comment.