django/django · Weekly · Jul 13, 2026 - Jul 19, 2026

Django Weekly Development Update – July 13–19, 2026

Commits summarized
21
Period
Jul 13 - Jul 19, 2026
Published
Jul 20, 2026

Django Weekly Development Update

July 13 – July 19, 2026

This edition covers 21 commits from the past week. If you maintain a Django project, write third-party packages, or contribute to the framework, the highlights below affect you directly — from free-threading CI and better deprecation warnings to important fixes for management command error handling.

🧪 CI & Testing Infrastructure

Free-threaded Python CI (3.13t / 3.14t)

Carlton Gibson added CI test runs for the free-threaded (no-GIL) builds of Python 3.13 and 3.14, and fixed a race condition in ExceptionReporterTests discovered under that mode (commit, commit). The asgiref dependency was also updated to remain compatible (commit).

CI Dependency Unification & gettext Installation

Natalia consolidated apt dependency installation across GitHub Actions workflows (commit) and installed gettext to avoid xgettext-related test skips in i18n extraction tests (commit).

⚠️ Deprecations & Warnings

New warn_about_implementation() Utility

Mike Edmunds introduced warn_about_implementation(), a deprecation helper that lets you point a warning at code that isn't on the current call stack (commit). It's immediately used to fix ModelAdmin deprecation warnings that were previously pointing at wsgiref internals instead of the user's own subclass (commit).

non_atomic_requests() No Longer Mutates the Original View

Sina Chaichi Maleki fixed non_atomic_requests() so it returns a new wrapper instead of mutating the _non_atomic_requests attribute on the original view function (commit). This resolves #29303.

🧰 Management Commands

Better ImportError Handling When Settings Are Missing

Ben Cail (with Rohith PR) fixed #32915 so that management commands now surface ImportError exceptions from settings loading to stderr and exit non-zero by default. Commands like makemessages, runserver, shell, and startproject opt out via a new settings_required = False attribute (commit).

🗄️ Models & Databases

bulk_update Doc Fix

Tom Most fixed a typo in the bulk_update code example in the querysets reference docs (commit).

inspectdb Regression Test for SQLite sqlite_schema FK

dcsid added a regression test to cover foreign keys discovered via sqlite_schema (commit).

🗺️ GIS (GDAL)

Temporary File Cleanup in Tests

Jacob Walls closed temporary files in GDALRasterTests to avoid resource warnings (commit).

🌐 ASGI & Deployment

Documentation Fixes

  • Jacob Walls fixed a broken link in the uvicorn deployment docs (commit).
  • Jacob Walls also documented that on-demand (lazy) fetching of related objects is sync-only (commit).

📚 Documentation & Developer Experience

XSS Security Section Improved

VIZZARD-X (with Daniele Procida and James Bligh) overhauled the XSS section of the security documentation (commit).

Dark Mode for Technical Error Views

Harvey Bellini added dark mode support to the technical 404 and 500 error debug views (commit).

Friendlier Contributor Error Messages

Stephanie adjusted pull request instructions and error messages to reduce perceived harshness, making the experience friendlier for new contributors (commit).

PostgreSQL Search Reference

Carlton Gibson added a GeneratedField example to the PostgreSQL full-text search reference (commit).

MiddlewareMixin Moved Out of utils.deprecation

CharulL00 relocated MiddlewareMixin from django.utils.deprecation as part of ongoing internal cleanup (commit).

Settings Topical Index

Mike Edmunds added MAILERS to the core settings topical index (commit).

Logged cached_db Session Cache Delete Failures

vismaytiwari ensured that failures during cache deletion in the cached_db session backend are now logged instead of silently swallowed (commit).

See you next week for another round of Django development updates.

Repository updates

Follow future updates

Get generated django/django development summaries without adding another panel to your dashboard.

Sign in to choose an email address and delivery schedule.

Sign in to subscribe