Skip to content

Update to Django 6.1.1 and migrate email settings to MAILERS - #621

Merged
bpepple merged 2 commits into
masterfrom
django-6.1
Sep 10, 2026
Merged

bpepple merged 2 commits into
masterfrom
django-6.1

Conversation

@bpepple

@bpepple bpepple commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Bump Django to 6.1.1 (uv.lock)
  • Migrate email configuration from the deprecated EMAIL_* settings to Django's new MAILERS setting, and update call sites off the deprecated get_connection() / EmailMessage(connection=...) API in favor of mail.mailers.default and .send(using="default")
  • Includes a local patch to the vendored django_nyt notifymail command for the same reason.

Replace the deprecated EMAIL_* settings with settings.MAILERS, and switch mail-sending call sites off the deprecated get_connection()/ EmailMessage(connection=...) API in favor of mail.mailers.default and send(using="default"), clearing the RemovedInDjango70Warning raised throughout the test suite.
@bpepple bpepple self-assigned this Sep 10, 2026
@bpepple bpepple added the dependencies Pull requests that update a dependency file label Sep 10, 2026
@bpepple
bpepple merged commit a3eef0e into master Sep 10, 2026
2 checks passed
@bpepple
bpepple deleted the django-6.1 branch September 10, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant