Django 4.2.x
Support ended 2026-04-01
This series of Django releases was supported from 2023-04-03 to 2026-04-01.
Release Highlights
- Django 4.2.x is a LTS release and will be supported until April 2026
- Psycopg 3 is now supported
- Ability to add comments to Django ORM tables and fields
Upgrade Gotchas
- Dropped support for MariaDB 10.3
- Dropped support for MySQL 5.7
- Dropped support for PostgreSQL 11
index_togetherMeta option is deprecated in favor ofindexes
CSRF_TRUSTED_ORIGINS
This now needs to be set if you are proxying to your WSGI process, which is 99% of the time.
The easiest thing to do is to duplicate your ALLOWED_HOSTS setting in settings.py with something
like:
CSRF_TRUSTED_ORIGINS = [f"https://{host}" for host in ALLOWED_HOSTS]
- Python 3.8
- Python 3.9
- Python 3.10
- Python 3.11
- Python 3.12