Background – Hello, I am very new to django / python stack. I am trying to work on a website that needs custom user so I have inherited AbstractUser class to make my own custom user model, I am using Django built in authentication – log in / sign up as well and am able to do this successfully and store it and retrieve back in MySql database.
Now my problem – I need to create users that can be tied as a family as this will be for a gym. So once user logs in they can see all members of family and book separate classes etc for each member also clicking on each member needs to pull in their profile information etc.
I have tried to search but couldn’t find specific answer yet so posting – is groups a way or what? Basically what is the best practice – how to create models for this situation?
If anyone can point me to right direction please ?
Megha Saini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1