Django 5.2 released
Posted by Sarah Boyce on April 2, 2025
The Django team is happy to announce the release of Django 5.2.
The release notes
showcase a composite of new features. A few highlights are:
All models are automatically imported in the shell by default.
Django now supports composite primary keys! The new django.db.models.CompositePrimaryKey
allows tables to be created with a primary key consisting of multiple fields.
Overriding a BoundField got a lot easier: this can now be set on a form, field or project...
Read more at djangoproject.com