Django: Command Rename, Query Fixes and Session Hardening
Django renamed the django-admin command to django while keeping the old name as an alias, alongside ORM fixes for annotation transforms and composite-key lookups and hardening for session keys and cache table setup. The pattern is reduced friction and fewer edge-case failures.
Duration: PT2M30S
Episode overview
This episode is a short developer briefing from Django.
It explains recent repository work in plain language.
- Show: Django
- Published: 2026-11-06T14:04:22Z
- Audio duration: PT2M30S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning, it's Friday, November 6th, 2026, and this is your Django briefing.
The headline change is the command line itself: the django admin command becomes simply django, paired with fixes that tighten query reliability and session handling.
First, the rename. PR 21260 implements DEP 16, renaming the command while keeping the old name as an alias. Documentation references and custom docs directives were updated accordingly. It drew extended review, reflecting its breadth across tooling and docs. For developers, the impact is practical, not breaking: new…
Second, ORM correctness. PR 21922 fixes a crash when applying a year transform to an annotation inside a values call, where the annotation's output field wasn't tied to a model. And open PR 22254 tackles a related edge case, allowing tuple lookups on primary key expressions against subqueries for composite primary…
Third, hardening and cleanup. PR 22252 rejects session keys containing null characters, which previously slipped validation and caused repeated server errors on Postgres with database-backed sessions. PR 22255 would deprecate the legacy way of passing table names to the create cache table command, which now reads…
What…
Nearby episodes from Django
- Docs Clarify Image Validation and Windows Setup
- Weekly Recap - Command Rename, Security Hardening & ORM Fixes
- PostgreSQL Pool Timeout Fix
- Silent Failures and Forward-Looking Prep
- Query Reliability Fixes and Docs Polish
- Database Crash Fixes and Security Hardening
- Primary Key Fixes and Translation Safety
- Step Validation Precision and Cookie Deletion Fix