Skip to content
Advertisement

Tag: abstract

How to inherent from a class that is already inherited from AbstractBaseUser in Django

I am trying to make an inheritance from a User class that is already inherited from the AbstractBaseUser but I am receiving an error that is telling me AUTH_USER_MODEL refers to model ‘authentication.User’ that has not been installed and I am sure I added the AUTH_USER_MODEL = ‘authentication.User’ in settings.py, I wonder how can I superpass this error and successfully

Advertisement