Django Abstract User Error Django Abstract User Error django django

Django Abstract User Error


You need to set your AUTH_USER_MODEL setting to point to your MyUser model, so that Django knows not to initialise the default model. See the documentation.


Add this line

AUTH_USER_MODEL = "app_name.MyUser"

in the settings.py it works.