Skip to content

Commit

Permalink
added pk to fields
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen-arutiunov committed Nov 5, 2024
1 parent 47b7fa1 commit 1a8d04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion author/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AuthorSerializer(serializers.ModelSerializer):

class Meta:
model = Author
fields = ["id",
fields = ["pk",
"first_name",
"last_name",
"pseudonym",
Expand Down

0 comments on commit 1a8d04d

Please sign in to comment.