in blog | Django News |
---|---|
original entry | Django News - Django security releases issued: 5.1.4, 5.0.10, and 4.2.17 - Dec 6th 2024 |
Django 5.1.4 fixes one security issue with severity “high”, one security issue with severity “moderate”, and several bugs in 5.1.3.
Another big release day! Python 3.13.1 and 3.12.8 were regularly scheduled releases, but they do contain a few security fixes. That makes it a nice time to release the security-fix-only versions too, so everything is as secure as we can make it.
Astral is taking stewardship of python-build-standalone, Gregory Szorc's foundational project for installing portable Python distributions.
And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django.
A 19-year-old ticket just got accepted!
Today 'Updates to Django' is presented by Velda Kiara from Djangonaut Space!
Last week we had 20 pull requests merged into Django by 15 different contributors - including 3 first-time contributors! Congratulations to Tommy Allen, Ayush Khatri , and Brock Smickley for having their first commits merged into Django - welcome on board!
Django 5.2 now supports a CompositePrimaryKey
field to uniquely identify records based on multiple fields to support more complex data relationships.
Also in Django 5.2, the request.user
fallback in auth.login
was depreciated, and an AlterConstraint
migration operation was added to allow autodetection of changes in constraints.
In Django 5.1 we had two bug fixes:
createsuperuser
on Python 3.13+ caused by an unhandled OSError
when the username could not be determinedModel.refresh_from_db()
on instances with deferred fieldsDjango Newsletter
Are you interested in building headless / API-first websites? Wagtail needs your feedback to inform Wagtail’s direction for headless support improvements as part of our 2024 Wagtail headless survey.
Learn how Sentry tackled backend bottlenecks and improved API latency by several seconds. Who knows—you might pick up some tips to optimize your Django app. Read the blog.
Summarizing lengthy text can be tedious. This post shows how to use Simplemind and Gemini to automate this process.
Heavy refactoring of models can leave a Django project with “ghost tables”, which were created for a model that was removed without any trace in the migration history. Thankfully, by using some Django internals, you can find such tables.
Django will reevaluate relations multiple times if you let it. Here are some examples and workarounds.
Dealing with extra whitespace when translating plain text in django.
Maintaining a package beyond the software. A post that covers a talk I was meant to give at the Black Python Devs Leadership Summit.
A brief recap from Will who co-writes this newsletter :)
Former Django Fellow and current Django Chat host Carlton Gibson recaps the past year.
Five days of talks, sprints, and tutorials in Dublin 23rd-27th April 2025.
Our newsletter has a large and engaged audience of active email subscribers and an impressive open (59%) and click rate (29%). Django News has availability this quarter for single week ads or bundle deals.
Senior Software Engineer, Cloud Engineering at QuoteWizard 🆕
Full-Stack Web Engineer (Python/Django Specialist) at e180, inc
Remote Senior Django Full-Stack Developer (German speaking) at ImmoMetrica
Django Newsletter
Config and manage typed extra settings using just the django admin.
Package to check for known Django removals and deprecations - ambient-innovation/django-removals
This RSS feed is published on https://django-news.com/. You can also subscribe via email.