Using .exclude(boolean_field=True) in Django and Postgres

A common Postgres “gotcha” I’ve run into before is the handling of NULL values. Equality comparisons in Postgres to NULL are neither true nor false.

February 15, 2022 · 1 min · Brandon Chupp