django-planet

What's new in Django community blogs?

How to Use ModelAdmin with Wagtail CMS v6+

May 2, 2024 » timonweb.com » [Archived Version]

The powerful ModelAdmin feature of Wagtail CMS has been removed as of Wagtail v6. The Wagtail team now encourages the use of SnippetViewSet, which includes advanced features like bulk actions. Here is an official migration guide from ModelAdmin to Snippets. However, if you have extensive custom code … Read now

Read More

Django: An admin extension to prevent state leaking between requests

April 28, 2024 » Adam Johnson » [Archived Version]

Here’s a small protection I added to a project a few years ago. I was considering it again since I saw a similar potential bug in a Django middleware. Long live the ModelAdmin instances Django’s admin site is configured by the ModelAdmin class. You register this per model …

Read More

Welcome our new Ops member - Baptiste Mispelon

April 28, 2024 » The Django weblog » [Archived Version]

The DSF Board are pleased to introduce Baptiste Mispelon as a new member of the Ops team. Baptiste will join the team who maintains Django’s infrastructure. Baptiste speaking at Django Under the Hood 2015 Baptiste (IPA pronunciation /ba.tist/) is a long-time Django contributor, having been a member of the community for over a decade now. He was an initial board member of the Django Girls Foundation, co-created the Django Under the Hood, series of conferences, and was chair of t…

Read More

Django News - Djangonaut Space 2024 Session 2 - Apr 26th 2024

April 26, 2024 » Django News » [Archived Version]

News Djangonauts Space Session 2 Applications Open! Applications are now open for the next 8-week group mentoring program, where individuals will work self-paced in a semi-structured learning environment. If you want to work with Jeff on Django Packages, he is mentoring a team this session. djangonaut.space Django Developers Survey 2023 Results The results of the Django Developers Survey 2023, which is a collaborative effort between the D…

Read More

Python: Diffing unit tests to keep a copy-pasted code in sync

April 25, 2024 » Adam Johnson » [Archived Version]

Copy-paste-tweaking library code feels like a dirty but inevitable programming practice. Often driven by deadlines or other constraints, it seems all projects end up with something copy-pasted in and tweaked for one specific use case. When we find ourselves doing this, it’s essential to consider the long-term maintenance of …

Read More

Livestream: Django Trends for 2024

April 25, 2024 » The Django weblog » [Archived Version]

Today at 3pm UTC – Discover the latest trends in the Django ecosystem, based on insights from 4,000 developers who participated in the Django Developers Survey. Join the livestream with Sarah Abderemane, a Django Software Foundation Board member, and Sarah Boyce, a Django Fellow, to reflect on insights from the Django community. Register to join

Read More

Python: Make line number paths with inspect

April 24, 2024 » Adam Johnson » [Archived Version]

Many terminals and text editors support what I’ll call “line number paths” of the form <filename>:<lineno>. Opening that path, whether by clicking or passing to a CLI, opens the given file at that line. Python’s inspect module has a couple of functions that can be combined to …

Read More

Workbench, the Django-based agency software

April 24, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]

Workbench, the Django-based agency softwareI get the impression that there’s a lot of interesting but unknown software in Django land. I don’t know if there’s any interest in some of the packages I have been working on; if not this blog post is for myself only. (Hi)story time As people may know I work at Feinheit, an agency which specializes in digital communication services for SMEs, campaigns for referendums, and website and webapp development. At the time of writing we are …

Read More

An unsettling dream

April 24, 2024 » Better Simple » [Archived Version]

An emotional dive into the blurred lines of reality and perception.

Read More

Django: Pinpoint upstream changes with Git

April 23, 2024 » Adam Johnson » [Archived Version]

Django’s release notes are extensive and describe nearly all changes. Still, when upgrading between Django versions, you may encounter behaviour changes that are hard to relate to any particular release note. To understand whether a change is expected or a regression, you can use Django’s Git repository to …

Read More