Wednesday, December 23, 2020

Implementing multiple roles user model in django

Hi , which is the best possible way to have multiple roles user   model in django , I have tried OnetoOnefield with default user model , and then having a charField in a user model Where in choices are provided for different roles and other is trying Third party packages .
Can anyone suggest what is the best way used in Industry to implement Multiple roles in Django , (specially if roles are more than 5). Need to Implement this in Django Rest Framework .
Please suggest some good resource on it if possible 
Thanks and Regards 
Akash verma

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d1b0ffb2-c148-49e1-885a-551d6ff12a07n%40googlegroups.com.

No comments:

Post a Comment