fix role field
This commit is contained in:
parent
9bd40b0191
commit
0cf62353be
|
|
@ -44,7 +44,7 @@ class BackUserSerializer(serializers.ModelSerializer):
|
||||||
'locale',
|
'locale',
|
||||||
'last_ip',
|
'last_ip',
|
||||||
'last_country',
|
'last_country',
|
||||||
# 'roles',
|
'roles',
|
||||||
)
|
)
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
'password': {'write_only': True},
|
'password': {'write_only': True},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user