126 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-05-25
stories 8

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

DJANGO STRIPS HARDCODED PRIMARY KEYS AHEAD OF NON-INTEGER ID SUPPORT

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

1 person shipped this

Django is systematically removing assumptions that primary keys must be integers, clearing the path for databases like MongoDB that use object IDs.

The framework removed hardcoded Site primary keys across the codebase [1], including a critical fix to runtests.py that now dynamically sets SITE_ID based on the database backend [2]. For MongoDB testing, this switches from hardcoded integer 1 to ObjectId('000000000000000000000001'), unblocking real-world usage of non-integer primary keys. The team also purged integer pk assumptions from AdminCustomQuerysetTest [3], with the same treatment applied elsewhere [4]. This isn't just cleanup. These changes signal Django is preparing for a world where UUIDs, ObjectIds, and other non-integer identifiers are first-class citizens, not edge cases. The deprecation roadmap is being updated to reflect this shift [5], giving extension developers and application authors clear guidance on what's coming. Benchmark infrastructure continues to mature across platforms [6], ensuring performance regressions get caught early.

Quick answers

What shipped in Django on May 25, 2026?
Django is systematically removing assumptions that primary keys must be integers, clearing the path for databases like MongoDB that use object IDs. In total, 5 commits and 3 pull requests landed.
Who contributed to Django on May 25, 2026?
1 developer shipped this update, including timgraham.
What were the notable Django updates?
Removed hardcoded Site pks, Removed hardcoded Site pks, and Removed integer pk assumption in AdminCustomQuerysetTest.