Cause three applies in my case. I switched from the default user model to a custom one after running migrations—midway through the project. To fix the issue, I deleted the database and existing migrations, then reapplied the migrations. That resolved the problem.