160 wires and counting

$ follow Django

Keep up with Django in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-06-16
stories 7

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

DJANGO FIXES MIGRATION CRASH THAT BREAKS UNIQUE CONSTRAINTS

By RepoJournal · Filed · About Django · Composed from the cited sources · methodology

A critical bug in Django's migration system is now patched: CreateModel with unique_together no longer crashes when followed by AlterUniqueTogether in the same migration.

The fix [1] resolves a crash that occurred when migrations contained both operations in sequence. Django was attempting to remove a unique constraint that existed only in deferred SQL, causing the alter operation to fail. This is the kind of silent killer that ships to production undetected until you run a specific migration sequence. In parallel, the docs got a significant boost with new guidance on test performance [2]. The team added explicit documentation showing how setUpTestData dramatically speeds up test suites by reusing data across tests, with revised examples that actually demonstrate the isolation mechanics. Secondary fixes landed on password hashing anchor links [3] and the steering council published June meeting notes [4]. ASV benchmarks also updated with ubuntu-latest results [5], keeping the performance baseline current.

Quick answers

What shipped in Django on June 16, 2026?
A critical bug in Django's migration system is now patched: CreateModel with unique_together no longer crashes when followed by AlterUniqueTogether in the same migration. In total, 5 commits and 2 pull requests landed.
Who contributed to Django on June 16, 2026?
1 developer shipped this update, including David-Wobrock.
What were the notable Django updates?
Fixed #31317 -- Avoided crash in CreateModel with unique_together and AlterUniqueTogether, Fixed #37128 -- Doc'd setUpTestData as test speed up, and Fixed password hashing anchor link for references.