Relative Content

Tag Archive for pythondjangoauthenticationoauthdjoser

Djoser cant access extra fileds in registration

I am using Djoser and i have role field in user model
as i integrated the role i cant signup a user. it works with without role
but role field is import to update.
in api body
{ "first_name":"test", "last_name":"data", "email":"[email protected]", "phone_number":"9876543210", "password":"pass@123", "re_password":"pass@123", "role":2 }