Hello team,
I need help with understanding how djoser and custom user model works better.
Problem breakdown
First, I’m trying to manage my system users. I want to implement customers, employees, and admin as users in the system. I want to know if I should create a separate table in my DB for employees after setting staff=true in my custom user model.
Can you help me understand what it means and how to use staff=true to create an employee system user?
Secondly, I want the token to be generated on creating a user but that too is not happening.
Note: I can create a token for a user via the admin interface.
Attached are some of my project files.