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:

https://pastebin.com/19g8av5m

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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -