Skip to content

Commit 662e760

Browse files
authored
Merge pull request #38 from PROCOLLAB-github/dev
Add speciality and birthday fields to UserListSerializer
2 parents 2a0cded + c788063 commit 662e760

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

users/serializers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,14 @@ class Meta:
113113
model = CustomUser
114114
fields = [
115115
"id",
116-
"user_type",
117116
"email",
117+
"user_type",
118118
"first_name",
119119
"last_name",
120120
"patronymic",
121121
"avatar",
122+
"speciality",
123+
"birthday",
122124
"is_active",
123125
"password",
124126
]

0 commit comments

Comments
 (0)