Groups and Permissions in Django
When I am creating a new user, It is getting automatically assigned all the groups to new user. And, vice-versa.
I am attaching code for models.py, serializers.py and views.py
I tried above solution and i am expecting that if I add a new group then It is not automatically assigned to every user or create a new user then also not assign all groups to them.
And, in permissions file, I am not getting user groups why?