1👍
✅
I suspect that you forgot to import database
in the user/models/__init__.py
:
from user.models.database import *
Source:stackexchange.com