A long-term support release that adds model constraints, request.headers and bulk_update().
Download Django 2.2 LTS PDF Official release notes
Release notes
- Released: April 1, 2019
- Python: 3.5 – 3.9
- Support: Long-term support (LTS)
Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.
New features
- CheckConstraint and UniqueConstraint in Meta.constraints.
- HttpRequest.headers, a case-insensitive header mapping.
- QuerySet.bulk_update().
- Math database functions such as Abs, Round and Power.
- Autoreloader built on Watchman.
Deprecated features
- The FILE_CHARSET setting.
- django.utils.timezone.FixedOffset.
- django.utils.text.unescape_entities().