Django News Newsletter

Archives
Jobs
Podcast
Videos
March 7, 2025

Django 5.1.7, 5.0.13, and 4.2.20

Django 5.1.7, 5.0.13, and 4.2.20, uv-based projects, ditching Django admin, using PostGIS in Django, and more.

News

Django security releases issued: 5.1.7, 5.0.13, and 4.2.20

Django releases critical security patches in versions 5.1.7, 5.0.13, and 4.2.20 to address a potential denial-of-service vulnerability in the django.utils.text.wrap() and wordwrap functions.

Join the DEFNA Board as Corporate Secretary!

DEFNA is seeking a Corporate Secretary to support its board by managing compliance, record-keeping, and communications for the DjangoCon US community.

Django for APIs (5th Edition)

The fifth edition of the book, Django for APIs, has now been released and is available as either an online course or in paperback.

Wagtail CMS News

Working with Wagtail CMS

Wagtail CMS enhances Django development by streamlining content management with a polished admin interface and flexible, code-driven customization.

Looking for sponsorship: SEO power tools

Wagtail seeks sponsors to integrate advanced SEO capabilities, including meta previews, automated checks, and AI-driven enhancements directly within the CMS.

Updates to Django

Today 'Updates to Django' is presented by Abigail Afi Gbadago from the DSF Board and Djangonaut Space!🚀

Last week we had 7 pull requests merged into Django by 6 different contributors - including a first-time contributor! Congratulations to Jonathan Ströbele for having their first commits merged into Django - welcome on board!🎉

This week's Django Highlights:

  • A forloop.length variable has been added to track the number of iterations within a template for the loop.
  • Django has published new security reporting guidelines to help reporters understand our security policies.

Sponsored Link 1

HackSoft - Your Django Development Partner Beyond Code

From custom software development to consulting, team augmentation, or opening an office in Sofia, Bulgaria - HackSoft can help! Learn more.

Articles

Ditching Django Admin for FastHTML with HTMX

Build a focused platform monitoring dashboard in 142 lines of Python using FastHTML, HTMX auto-refresh, and simple cookie-based auth to overcome the limitations of Django Admin.

Handling spatial data in Django using PostGIS

Learn how to integrate and manage spatial data in Django with PostGIS, including configuring models, admin, and running the setup using Docker.

Introducing django-remake-migrations

django-remake-migrations offers a command to rebuild and squash migrations across all Django apps, streamlining the migration process for medium to large projects.

Django Admin’s handling of dates and times is very confusing

Enhance Django Admin's date and time inputs by allowing clear time zone selection to avoid confusion between server, local, and UTC times.

Django-treebeard: Converting an Existing Model to MP_Node

Learn how to convert an existing Django tree model into an MP_Node Materialized Path structure using a strategic migration that temporarily adjusts field constraints to handle non-nullable unique fields.

How to Deploy Selectively to Production

Use hotfix branches with Git Flow and cherry-picking to deploy a chosen set of bug fixes and small code changes directly to production.

Videos

My 2025 uv-based Python Project Layout for Production Apps

Hynek Schlawack demonstrates a modern, uv-based Python project layout using dependency groups and updated packaging techniques to streamline production deployments—insights that can benefit Django developers too.

A Guided Tour Through Postgres Internals with Elizabeth Garrett Christensen

Elizabeth Garrett Christensen offers Django developers a hands-on guide to mastering Postgres internals to optimize database performance.

Sponsored Link 2

Official MongoDB Backend for Django - Now in Public Preview!

Seamlessly integrate Django with MongoDB. This new backend offers seamless mapping of Django models to MongoDB documents, Django admin support, and native connectivity right from the settings.py file. Experience the flexibility of the document model and the full feature set of Atlas. Try it now!

Django Job Board

Senior Developer Advocate at MongoDB 🆕

Software engineer(all levels) at Carbon Equity 🆕

Junior Full Stack Developer – Python at Krotos 🆕

Mid/senior level django developer at Green Web Foundation

Projects

adamghill/awesome-django-admin-themes

A compendium of themes for the Django admin (with screenshots!).

ibrahimroshdy/django-pdf-actions

Django PDF actions export actions app.


Django News is not associated with the Django Software Foundation.

Django is a registered trademark of the Django Software Foundation.

Don't miss what's next. Subscribe to Django News Newsletter:
link
jefftriplett.com
Powered by Buttondown, the easiest way to start and grow your newsletter.