Django News Newsletter

Archives
Jobs
Podcast
Videos
January 17, 2025

Django 5.1.5 security release

Djangonaut Space Session 4 Applications Open, Django 5.2 alpha 1 release, a note from the Steering Council, and more.

News

Django security releases issued: 5.1.5, 5.0.11, and 4.2.18

Several new security updates. As ever, you should endeavor to be on the latest version of Django for security reasons.

Django 5.2 alpha 1 released

Django 5.2 alpha 1 is now available. It represents the first stage in the 5.2 release cycle and is an opportunity for you to try out the changes coming in Django 5.2.

Python Insider: Python 3.14.0 alpha 4 is out

Python 3.14 is still in development. This release, 3.14.0a4, is the fourth of seven planned alpha releases.

Djangonaut Space Session 4 Applications Open!

Djangonaut Space Applications are open now and close on January 29th, 2025 AOE.

Django Software Foundation

Hello from the new Steering Council; and a quick temporary voting process change

An update on the voting process to move faster on the smaller things the SC currently has in from of them.

Updates to Django

Today 'Updates to Django' is presented by Velda Kiara from Djangonaut Space!

Last week we had 20 pull requests merged into Django by 12 different contributors ๐ŸŽŠ!

Highlights of the changes made:

  • The contrib.postgres aggregates ordering argument has been deprecated in favor of order_by.
  • URLField values are now rendered as links in the Django admin.
  • A new JSONArray function has been added to django.db.models.functions, allowing users to construct JSON arrays. This function operates similarly to the existing JSONObject function.
  • The Django shell has been updated to auto-import models from your app. This enhancement allows users to subclass the shell for customized behavior and import additional elements. This contribution was from Salvo Polizzi a contributor from Google Summer of Code, thank you for your contribution to Django ๐ŸŽ‰!

Want to see what Djangonauts have been up to? Check out this PR review session

Articles

Testing your Python package releases

On discovering that the release process for the Django Debug Toolbar wasn't as robust as thought.

Catching memory leaks with your test suite

If you have a good test suite, you may be able use pytest fixtures to identify memory and other resource leaks.

Truncating timedeltas in Django

How to efficiently aggregate event counts over time relative to a post's creation in Django by using database annotations.

How to check if a Django template has been overridden

A quick way to check if a template has been overridden. Especially useful for Django package authors.

Speed up CI with uv

Use uv to make linting and testing on GitHub Actions around 1.5 times as fast.

Django: render JavaScript import maps in templates

How to integrate JavaScript import maps into Django templates using a custom template tag to generate module import paths dynamically.

State of the Server 2025

An in-depth review of the author's self-hosted server setup, covering hardware, storage, backup strategies, self-hosted applications, security improvements, and future plans for optimization and privacy enhancements.

Sponsored Link 2

Buff your Monolith

Scout Monitoring delivers performance metrics, detailed traces and query stats for all your app routes with a five-minute setup. Add our Log Management and have everything you need to make your Django app shiny and fast. Get started for free at https://try.scoutapm.com/djangonews

Django Job Board

Software Engineer I at Spark ๐Ÿ†•

Senior Software Engineer at Spark ๐Ÿ†•

Engineering Manager at Spark ๐Ÿ†•

Front-end developer at cassandra.app

Lead Django Developer at cassandra.app

Dรฉveloppeur(se) back-end en CDI at Brief Media

Full-stack Python Developer at Scalable Path

Projects

torchbox/wagtail-wordpress-import

A package for Wagtail CMS to import WordPress blog content from an XML file into Wagtail.

miketheman/pytest-max-warnings

A Pytest plugin to exit non-zero exit code when the configured maximum warnings has been exceeded.


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.