0

So, I have a model with 3 custom user classes:

class customUser(AbstractBaseUser):

class customUser(AbstractBaseUser):

class customUser(AbstractBaseUser):

I need all of them to be in Django's admin like Users and Groups in Django by default. AUTH_USER_MODEL doesn't support tuples. Or what should I do? May someone help?

3
  • Why inherit from BaseUserManager. If you want to create custom user models you have to AbstractBaseUser. In any case, AUTH_USER_MODEL does not support tuples. Maybe some insight in your use-case would give us more options on how to help you. Commented Jan 8, 2014 at 16:29
  • Why dont you just add it to the admin, like other models? Commented Jan 8, 2014 at 18:31
  • This has been asked and answered here: stackoverflow.com/questions/15012235/… Commented Jan 8, 2014 at 22:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.