[Django]-Django Abstract User Error

55👍

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.

6👍

Add this line

AUTH_USER_MODEL = "app_name.MyUser"

in the settings.py it works.

Leave a comment