May 26, 2023

Django News - DjangoCon Europe in Edinburgh starts Monday! - May 26th 2023

News

This classic domain--first used to host a free book on Django written by Adrian Holovaty and Jacob Kaplan-Moss--is now a community guide to current books on Django.

djangobook.com

Python 3.12 is still in development. This release, 3.12.0b1, is the first of four planned beta release previews of 3.12.

blogspot.com

GitHub is dropping platform support (actions/setup-python ) for Python 2.7 on June 19th. Python2.7 was officially sunset on January 1, 2020.

github.com

The PSF received three subpoenas from the US Department of Justice for PyPI user data in March and April of 2023. In additional news, PGP signatures will be removed from PyPI going forward.

pypi.org

A valuable resource on Django tutorials in video, podcast, and book format.

djangofeeds.com

Updates to Django

We're trying out a new category, curated by Sarah Boyce, highlighting contributions to the Django codebase.

On the week starting May 15th, we had 10 pull requests merged into Django by 8 different contributors - including 3 first time contributors! Congratulations to Julie Rymer, Dingning and Rajeesh Punathil for having their first commits merged into Django - welcome onboard!

We saw a number of updates including adding (into Django 5.0) async support to checking user passwords (#16855) and xframe_options_deny, xframe_options_sameorigin, xframe_options_exempt decorators (#16800). It's great to see Django's async story continue to grow!

Want to leave your mark on the framework but struggling to chose a ticket? Here are a couple you might find interesting:

  • Bug #17235 - Multipartparser shouldn't leave request.POST/request.FILES mutable.
  • Documentation #33682 - Clarify using distinct() with related fields that have Meta.ordering defined.

Please read through the contributing guide and if you need any help you can reach out on the Django forum or the Django Discord. We'd love to welcome you onboard!

github.com

Wagtail CMS

# Wagtail Bugfix releases: 5.0.1, 4.2.4, and 4.1.6

The Wagtail team announced the bugfix release of Wagtail 5.0.1, 4.2.4, and 4.1.6.

Django Newsletter

Sponsored Link

Level up your Django knowledge with Django for Beginners, Django for APIs, or Django for Professionals, or gift it to a friend. Sample chapters are available to preview for free. Bundle discount available!

learndjango.com

Articles

Since Django 4, form rendering with Tailwind can be used to render beautiful forms without using Node or any other packages like django-crispy-forms.

joseferben.com

A guide to sorting a Django queryset based on a custom sequence of an attribute.

rednafi.com

A useful overview of two classic tools for optimizing database query performance in Django: select_related and prefetch_related.

johnnymetz.com

An overview of the django-multitenant library, actively used since 2017 and now downloaded more than 10K times per month.

citusdata.com

Events

An upcoming one-day workshop on May 27th in Groningen, The Netherlands.

djangogirls.org

DjangoCon Europe kicks off this Monday, May 29th, for five days of talks, tutorials, and sprints.

djangocon.eu

Tutorials

Quickly add a sitemap to any Django website. This tutorial builds out a basic recipes app to demonstrate.

learndjango.com

Sponsored Ad

django-news.com

Podcasts

This week on the show, CPython core developer Brett Cannon returns to discuss his recent articles about virtual environments and the Python packaging landscape.

realpython.com

Projects

Python/Django support for distributed multi-tenant databases like Postgres+Citus.

github.com

Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.

github.com


This RSS feed is published on https://django-news.com/. You can also subscribe via email.