feat(api): rename user model fields (#1902)
This commit is contained in:
parent
28c4989d44
commit
dc426f0aa5
9 changed files with 204 additions and 142 deletions
|
@ -7,14 +7,15 @@ class UserSerializer(serializers.HyperlinkedModelSerializer):
|
|||
model = get_user_model()
|
||||
fields = [
|
||||
"item_url",
|
||||
"role",
|
||||
"username",
|
||||
"type",
|
||||
"email",
|
||||
"first_name",
|
||||
"last_name",
|
||||
"lastfail",
|
||||
"skype_contact",
|
||||
"jabber_contact",
|
||||
"email",
|
||||
"cell_phone",
|
||||
"login_attempts",
|
||||
"last_login",
|
||||
"last_failed_login",
|
||||
"skype",
|
||||
"jabber",
|
||||
"phone",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue