This error may point to a model but it is mainly an incompatibility with Postgres package.
In a new postgres databases it may include following error when doing initial migration: "AssertionError: database connection isn't set to UTC"
I got same error with Python 3.8 & 3.10 + Django 3 & 4.