This version is still in development, so its features and deprecations may change before the final release.
The next long-term support release, still in development. It adds the HTTP QUERY method, multiline template tags and the new "django" command-line name, and moves Django to calendar versioning.
Download Django 6.2 PDF Official release notes
Release notes
- Released: Expected April 2027
- Python: 3.12 – 3.15
- Support: In development
Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.
New features
- HTTP QUERY method support: class-based views handle it with a query() method, and tests use Client.query().
- Template tags such as {% include %} can span several lines in the DjangoTemplates backend.
- "django" is the preferred command-line name; django-admin remains as an alias.
- Calendar versioning: the planned 7.0 and 7.1 become Django 2028 and 2029.
- New listurls management command lists the project URLs and their views.
- makemigrations detects changes to unmanaged models.
- The default PBKDF2 iteration count rises to 1,800,000.
Deprecated features
- Omitting JsonResponse's safe argument will mean safe=False.
- django.utils.functional.cached_property: use functools.cached_property.
- Importing MiddlewareMixin from django.utils.deprecation: use django.middleware.
- EmailValidator.validate_domain_part(): use validate_domain().
- Indexing django.VERSION past two components: use its .feature, .patch, .status and .iteration attributes.