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
Tag: abstract
How to actually use the NotImplementedError in python?
I currently have a base class like so: Now I have the abstract method foo that I want a user to override. So if they define a class like this: So here the method foo is not over-ridden / defined in the DerrivedClass and when I create an object of this type it throws me a TypeError but I want