Django News Newsletter

Archives
Sponsor Us
Jobs
Podcast
Videos
Subscribe
November 20, 2026

Issue 364: 2027 DSF Board Nominations

Five of the DSF's seven board seats are open for nomination through December 2, Raffaella Suardini wins the 2026 Malcolm Tredinnick Memorial Prize, and Tim Schilling keeps a unique constraint from turning into a 500.

News

2026 Malcolm Tredinnick Memorial Prize awarded to Raffaella Suardini

We are pleased to announce that the 2026 Malcolm Tredinnick Memorial Prize has been awarded to Raffaella Suardini!

2027 DSF Board Nominations

Five of the seven board seats are open, four two-year terms plus a one-year seat finishing out Jacob Kaplan-Moss's. You do not need to be a DSF member or to have served before. Nominations close December 2.


Wagtail CMS News

Join us for the Wagtail Space community day

Friday closes out Wagtail Space as an unconference: you bring the topics, the organizers sort out the rooms. Roadmap Q&A, first contributions, UX, AI, packaging, and security are already on the list.

Agent-friendly user docs for Wagtail

Four new documentation formats for AI agents, based on weeks of testing.


Djangonaut Space News

Djangonaut Space Log 3: JS one-liners && backend

Wasif Shahzad shares the latest steps in his journey, exploring JavaScript improvements and backend changes while working on his first PR for Django Debug Toolbar.

Djangonaut Log 4: Avoiding asteroids

"I tend to be the type of person who gets very excited about things I’m passionate about and Djangonaut Space — as you may have noticed through my blog posts — is definitely one of those." - Juha-Matti Santala


Updates to Django

Today, "Updates to Django" is presented by Raffaella from Djangonaut Space! 🚀

Last week we had 17 pull requests merged into Django by 13 different contributors - including 8 first-time contributors! Congratulations to Zishan Kadri, Akshat Gupta, Matthew Newton 🚀, Goodluck Igbokwe 🚀, charlesroelli, Awath Javar Abdat, Kryštof Kopečný and Alisson Silveira for having their first commits merged into Django - welcome on board!

New in Django 6.2:

  • Passing table names as command-line arguments to createcachetable is deprecated. Configure cache tables in the CACHES setting instead.
  • The HTML and plain text technical 500 debug pages now display the nested exceptions in BaseExceptionGroup instances.

New in Django 6.1:

  • Fixed a bug in Django 6.1 where the models.E050 system check did not detect mixed on_delete variants for models with a GenericRelation (#37471).

Django Fellow Reports

Django Fellow Report - Jacob

Three security PRs of his own, plus review and triage on others. Django's release wheels now build reproducibly, thanks to Charles Roelli, and Jacob paired with Tobias and Colin on moving djangoproject.com to a new OS.

Django Fellow Report - Sarah

A security week, with eight issues in flight. The fellows want as many closed as they can before the end-of-year break. She also accepted a fix for makemessages dropping context from multiline translation tags.


Python Software Foundation

PEP 8108: 2027 Term Steering Council election

Seth Larson's PEP sets the schedule for the Steering Council term covering Python 3.16. Core team members nominate candidates, themselves included, from November 16 to 30, then vote December 2 to 16, with five seats decided by Bloc STAR voting.

Stricter checks for uploaded sdists

PyPI now rejects V7-style tar archives and wheels whose ZIP comments could pass for control structures, closing off parser differentials. Almost nothing is affected, since build backends already emit pax tars. If you pack by hand, pass --format=pax.


Sponsored

Reach 4,300+ Engaged Django Developers

Sponsor this newsletter to reach an active community of Python and Django developers.

Django Pony reading the news


Articles

Django race conditions and unique constraints

A UniqueConstraint protects your data and hands the user a 500. Tim Schilling validates the constraint in the form first, then catches IntegrityError inside transaction.atomic() so the savepoint survives, and writes a racing form to prove the test works.

Billing LLM tokens through Stripe from a Django backend

Papan Sarkar billed a meter event inline with the model call and double-billed a retry. The fix: a UsageEvent outbox row in the same transaction, drained with select_for_update(skip_locked=True). Good on the limits that bite, including Stripe's 24-hour window for corrections.

How to find and fix N+1 queries in Django

A thorough look at this common issue, how to spot it, inspect, and fix.

Your Django tests use the wrong media storage

From Marc Gibbons at Lincoln Loop, tldr is fake S3 not your code when testing media storage. An elegant writeup with accompanying gist to explore.

How CPython processes Python source code

Velda Kiara follows a file, a -c string, and a readline() callable into the same struct tok_state, where one underflow function pointer is all that still tells them apart. Ends at the PEG parser pulling tokens one at a time, with the compile step promised next.


Events

IndyPy: Django & FastAPI: What's Next?

Tuesday, November 24 at 7pm ET, hybrid from E-gineering in Indianapolis or over Zoom. Tim Schilling covers what's new in contributing to Django, and Calvin Hendryx-Parker argues batteries-included against speed in the Django/FastAPI debate. Register on Meetup for the in-person seat or the Zoom link.

PyCon US 2027 Call for Proposals

Talks, tutorials, posters, and charlas all close December 19, with the Future of AI and Python Security tracks returning. First-time speakers can get matched with a mentor to shape a proposal, but that sign-up closes November 27.


Podcasts

The Real Python Podcast #319: Mentoring Developers Beyond the Code With Tim Schilling

Tim Schilling, Django Steering Council member and Djangonaut Space administrator, talks with Christopher Bailey about turning his Better Simple blog toward one-on-one mentoring, what a mentee has to bring, and how LLMs changed the questions developers ask.

Django Chat #210: Code Is Not the Bottleneck - Johannes Maron

Johannes Maron is a prolific Django contributor, package maintainer, and startup founder. We discuss FOSS Fridays, the growing importance of code review in the age of AI, and what actually makes software engineering valuable.


Videos

Mentoring Developers Beyond the Code With Tim Schilling

The same conversation on video, running an hour and eight minutes, including segments on Djangonaut Space and on Django Commons filling the gap left by Jazzband.

The Real Python Podcast Ep 319: Mentoring Developers Beyond the Code with Tim Schilling


Django Job Board

Three senior roles this week: Python engineering at Manychat in Barcelona with relocation support, backend Python at Proxify, and a founding forward deployed engineer at Alloy.

Senior Python Engineer (Barcelona-based / Relocation support to Barcelona) at Manychat

Senior Backend Developer (Python) at Proxify AB

Founding Forward Deployed Engineer at Alloy


Projects

aws/aws-emulator

AWS runs the AWS APIs on your laptop. A Rust server on 127.0.0.1:9297 that the AWS CLI and the SDKs talk to with no account and no bill, so tests hit it instead of us-east-1. Per-service fidelity scores ship with each release.

oliverandrich/django-pg-sse

Server-sent events over Postgres LISTEN/NOTIFY. No Redis, no broker, no Channels. Events land in a table and go out after the transaction commits, so a reconnecting client replays what it missed. Built for htmx 4's hx-sse.

Apakottur/unref

A dead code finder built on Ruff's parser, so the options and output read like Ruff and the config lives in pyproject.toml. It sweeps all of CPython in under a second, and ships rules for pytest, Pydantic, and SQLAlchemy to keep the false positives down.


Sponsor Django News

Reach 4,300+ Django developers every Friday. See sponsorship details and rates.


Django News is not associated with the Django Software Foundation.

Django is a registered trademark of the Django Software Foundation.

Don't miss what's next. Subscribe to Django News Newsletter:
Older → Issue 363: Wagtail's new API
link
jefftriplett.com
Powered by Buttondown, the easiest way to start and grow your newsletter.