News
Django 5.1 released
Django 5.1 was released, featuring the new LoginRequiredMiddleware
for easier authentication and several accessibility enhancements, including improved screen reader support and more semantic HTML elements. There is also a querystring
template tag simplifies query string handling in templates.
Django security releases issued: 5.0.8 and 4.2.15
The Django team has issued security releases 5.0.8 and 4.2.15, addressing multiple vulnerabilities, including potential memory exhaustion, denial-of-service attacks, and SQL injection risks; users are advised to upgrade immediately.
Python 3.12.5 released
Python 3.12.5 is the latest maintenance release, containing more than 250 bug fixes, build improvements, and documentation changes since 3.12.4.
PSF News: Security Developer-in-Residence role extended thanks to Alpha-Omega
Thanks to continued support from Alpha-Omega, Seth Larson's role as Security Developer-in-Residence has been extended through the end of 2024, focusing on enhancing Python ecosystem security.
Updates to Django
Today 'Updates to Django' is presented by Raffaella Suardini from Djangonaut Space!
Last week we had 14 pull requests merged into Django by 10 different contributors - including 2 first-time contributors! Congratulations to Jeremy Thompson and Lucas Esposito for having their first commits merged into Django - welcome on board!
Django 5.2 is introducing new form widgets:
- A new class
django.forms.TelInput
, for telephone numbers, renders as<input type="tel" ...>
. - A new class
django.forms.ColorInput
, for entering a color inrrggbb
hexadecimal format, renders as<input type='color' ...>
. Some browsers support a visual color picker interface for this input type. - A new class
django.forms.SearchInput
, for entering search queries, renders as<input type="search" ...>
Additionally, Django 5.2 includes an improvement where the attribute SafeExceptionReporterFilter.hidden_settings
now treats values as sensitive if their name includes AUTH
.
Sponsored Link 1
![Free Trial of Scout APM Today!](https://dxj7eshgz03ln.cloudfront.net/production/link/image/974087/original_ratio_extra_large_8d5343e6-c366-4610-9f7e-d72c56f429fa.png)
Free Trial of Scout APM Today!
Need answers to your Django app questions fast? Avoid the hassle of talking with a sales rep and the long wait times of large support teams, and choose Scout APM. Get Django insights in less than 4 minutes with Scout APM.
Articles
Anatomy of a web app
A five-part series of articles for junior and aspiring developers covering the high-level components of a web app: requests/responses, databases, AJAX, auth, and payment gateways.
The Stack Report - Locality of Behaviour
A meaty post from former Django Fellow Carlton Gibson on a way of thinking about and assessing code.
How Postgres stores data on disk – this one's a page turner
A high-level overview of how PostgreSQL stores data on disk, covering segments, pages and more.
TIL: Neapolitan: Everything I've Learned
Lacey covers the Neapolitan CRUD library, including Roles and custom template paths.
⬆️ Which Django and Python versions should I be using today?
Jeff shares his thoughts on when to make the latest Django and Python major versions his default versions.
Events
PyCon US 2024 Recap and Recording Release
PyCon US 2024 in Pittsburgh was a record-breaking success and all event recordings are now available on the PyCon US YouTube channel along with their recap summary.
Tutorials
How to Write an Installable Django App
Learn how to take an app out of a Django project and package it so that it’s installable. Once you’ve packaged your app, you can share it on PyPI so that others can fetch it through pip.
Podcasts
DjangoGirls 1010 Anniversary with Ola Sendecka and Ola Sitarska by Django Girls podcast
Join us for this special episode with Ola and Ola on DjangoGirls' 10th anniversary. They will take us down memory lane to explain why DjangoGirls?
Projects
simonw/django-http-debug
Django app for creating endpoints that log incoming request and return mock data.
See Simon's announcement blog post, django-http-debug, a new Django app mostly written by Claude.