alireza1219 / repair-ninja

MIT License
2 stars 0 forks source link

Model discussions #2

Open alireza1219 opened 8 months ago

alireza1219 commented 8 months ago

I was thinking that maybe it's better to define a custom User model (inherited from the AbstractBaseUser or the AbstractUser). Then define a field named user_type with three choices: 1. Admin, 2. Repairman, 3. Customer. I'm not sure if this is a good idea or not. So, I'm writing it down here for future reviews 😁.