python - LookupError: Model 'User.user' not registered -
i error every time try run manage.py makemigrations
manage.py migrate
or manage.py runserver
.
full traceback:
short version:
lookuperror: model 'user.user' not registered.
thanks help.
i needed add project's name before model.
auth_user_model = 'xxxprojectxxx.users.user'
Comments
Post a Comment