Skip to main content

Django 6.1

Release Date: August 5, 2026

Django 6.1.

Released August 5, 2026.

Python 3.12, 3.13, 3.14.

Fetch Modes

New fetch_mode().

FETCH_ONE. Default. Current behavior.

FETCH_PEERS. On-demand prefetch. N+1 becomes two queries.

FETCH_RAISE. Blocks unfetched field access.

Delete Options

on_delete goes database-level.

DB_CASCADE.

DB_SET_NULL.

DB_SET_DEFAULT.

No signals fire. Faster deletes.

Mailers

One setting. Many backends.

MAILERS replaces scattered EMAIL_* settings.

Admin

Login redirects to next URL.

Change lists select fewer foreign keys.

Labels above fields.

Boolean icons on related fields.

Auth

PBKDF2 iterations up. 1.2 million to 1.5 million.

Permissions rename with their models.

Deprecated

EMAIL_BACKEND. All EMAIL_* settings. get_connection().

select_related() with no arguments.

Gone by 7.0.

Removed

PostGIS 3.1. GEOS 3.8, 3.9. GDAL 3.1, 3.2.

Upgrade

Read the release notes.

Move email config to MAILERS.

Run your tests.

Then upgrade.

What is New?

By continuing to use the site, you agree to the use of cookies.