Skip to content

Commit

Permalink
fix: profile page serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Shavkatjon-O committed Aug 23, 2024
1 parent 0537e49 commit 9956388
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion apps/users/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,17 @@ def create(self, validated_data):
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ("id", "email")
fields = (
"id",
"email",
"first_name",
"last_name",
"phone_number",
"date_of_birth",
"address",
"job_title",
"department",
"education",
"employment_start_date",
"skills",
)

0 comments on commit 9956388

Please sign in to comment.