diff --git a/administration/serializers.py b/administration/serializers.py index b2a0f837a..060ce5893 100644 --- a/administration/serializers.py +++ b/administration/serializers.py @@ -20,12 +20,11 @@ class Meta(UserSerializer.Meta): model = User fields = ( "id", - "person_name", - "person_surname", - "person_email", + "name", + "surname", + "email", "phone_number", - "last_login", "is_active", "is_staff" ) - read_only_fields = ("phone_number", "person_email") + read_only_fields = ("phone_number", "email")