Splitting strings with Postgres and Django

Jan. 31, 2023

The Django docs give an example of querying an `ArrayField` with some really powerful lookups. But what if we inherited a project, and the prior developer didn't know about this Postgres-specific field type?


Bulk update or create in Django 4.1

Sept. 6, 2022

Django 4.1 quietly added a really powerful feature to the bulk_create queryset method that effectively turns it into bulk_update_or_create.


How to set dynamic values for Field choices’ human-readable names

Sept. 24, 2021

In this post, I explain how to add dynamic data to the choices shown in a Django form dropdown.