Wagtail 2.12 released
Changes include official Python 3.9 support, a new 'choose' permission, in-place StreamField updating (sounds niche but enables some cool features), admin colour themes, and performance improvements.
PEP 634 -- Structural Pattern Matching: Specification
Python is getting pattern matching in a future version which is similar to a switch statement in other languages.
TestDriven.io - Working with Django and Celery
This free guide provides a roadmap you can follow to get the most out of Celery in your Django project. The detailed walkthroughs, coupled with exhaustive code samples, cover the common use cases you may encounter. You'll learn how to test your code, identify and fix issues, and containerize Celery, Django, and Redis with Docker.
The Unexpected Find That Freed 20GB of Unused Index Space by Haki Benita
How to free space without dropping indexes or deleting data.
Cleaning Up Your Postgres Database
How do you know if your Postgres database is healthy? Craig Kerstiens shows us a few tips.
Database Constraints in Django
Django's database constraints have evolved a lot since the Django 2.2 release, and Steven Pate walks through the various constraint options.
Elegant Database Migrations on ECS
While this article is a few years old, Adam Stepinski shows us how to write a health check which checks Django's Migrations before signaling that the server is ready for traffic.
PostgreSQL on ARM-based AWS EC2 Instances: Is It Any Good?
If you were curious how PostgreSQL performs on ARM architecture, then this article is for you.
Using Django Check Constraints to Prevent the Storage of The Empty String
Adam Johnson shows us a practical example of avoiding storing empty strings in our models by using Django's Constraint framework.
Adam has a follow-up post that's worth checking out too: Using Django Check Constraints to Limit A Model to a Single Instance.
How to Use Htmx in Django
Matt Layman demonstrates how to use htmx in a Django site.
‘What’s New in Wagtail’, episode 3
The Wagtail team is hosting a free webinar to help get everyone up to speed on ‘What’s New in Wagtail’.
Check out What's New in Wagtail (season 1, episode 2) too.
Running in Production - An Internal Financial Planning Service for Season Ticket Holders
Denis Stepanenko talks about building an internal app to help manage finances around selling season tickets. He rebuilt an old PHP app with Django, coding everything with 6 months of experience, using DRF and React.
trustme is a tiny Python package that does one thing: it gives you a fake certificate authority (CA) that you can use to generate fake TLS certs to use in your tests.
Sponsor Django News newsletter!
Reach over 1,700 engaged Django developers every week. Sponsorship availability, prices, and details are available here.