Sunday, June 18, 2017

If you have multiple custom users - what should you set AUTH_USER_MODEL to?

Hi,

Say you have multiple custom users, each inheriting from AbstractUser. The docs mention setting AUTH_USER_MODEL:

https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#substituting-a-custom-user-model

However, what happens if you have multiple custom users - which would you set it to?

Regards,
Victor

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fddfc562-1d61-4592-a6ee-b7bc2b6a7909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment