djoser and custom user model

102 views
Skip to first unread message

Emmanuel klutse

unread,
Feb 19, 2020, 9:58:05 AM2/19/20
to django...@googlegroups.com
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.
admin.py
models.py
serializers.py
urls.py
Reply all
Reply to author
Forward
0 new messages