December 7, 2021
Django 4.0 released
The Django team released Django 4.0 on December 7, 2021 with `zoneinfo` timezone support, `scrypt` password hashing, and RedisAn in-memory data store — used for caching, queues, pub/sub, and real-time features. cache backend.
What it was for
Django 4 dropped PythonA high-level language known for readability — dominant in data science, scripting, and web backends. 3.6 support and modernized defaults: stdlib timezones replaced pytz; scrypt strengthened password storage; RedisAn in-memory data store — used for caching, queues, pub/sub, and real-time features. became a built-in cache option. It powered admin panels, RESTRepresentational State Transfer — a style for web APIs using HTTP methods and resource URLs. APIs, and CMSContent management system — software for building and publishing websites without hand-writing every page. backends through the early 2020s.
Why it's here
Django 4 was the PythonA high-level language known for readability — dominant in data science, scripting, and web backends. 3-only cleanup that aligned with modern deployment practices.
Why it mattered
Built-in RedisAn in-memory data store — used for caching, queues, pub/sub, and real-time features. caching and zoneinfo simplified production Django stacks.
What it solved
Django carried pytz and legacy compatibility baggage from the PythonA high-level language known for readability — dominant in data science, scripting, and web backends. 2 era.
Media
- ImageDjango (web framework)
Django, Public domain, via Wikimedia Commons
Related
- Django open-sourcedJuly 13, 2005
- Python 3.0 releasedDecember 3, 2008
- FastAPI first releasedDecember 5, 2018