Skip to content

Commit

Permalink
changed name variable pk
Browse files Browse the repository at this point in the history
  • Loading branch information
arsen-arutiunov committed Nov 5, 2024
1 parent 5ba41b0 commit 47b7fa1
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 @@ -5,7 +5,7 @@


class AuthorSerializer(serializers.ModelSerializer):
id = serializers.IntegerField(read_only=True)
pk = serializers.IntegerField(read_only=True)
first_name = serializers.CharField(max_length=64)
last_name = serializers.CharField(max_length=64)
pseudonym = serializers.CharField(max_length=64, required=False)
Expand Down

0 comments on commit 47b7fa1

Please sign in to comment.