The Database Row That Did and Didn't Exist

Every now and then, I run into a bug so mystifying on its face I know it&rsquo;s going to be a journey just from the error message. This is one of those stories. I work at a Python shop right now, and we were upgrading an app to Django 5. There are a few breaking changes, but nothing too unexpected or out of the ordinary. Everything was working great in our development environment, but once we…