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 😁.
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 😁.