Skip to content

Commit

Permalink
Fix typo in tourney serializer RO fields
Browse files Browse the repository at this point in the history
We had `manager_price_onsite` in there twice.
  • Loading branch information
Lymkwi committed Oct 27, 2023
1 parent f777427 commit 9a45e6e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions insalan/tournament/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Meta:
"month",
"ongoing",
"tournaments",
"logo"
"logo",
]


Expand All @@ -54,8 +54,13 @@ class Meta:
"""Meta options of the serializer"""

model = Tournament
read_only_fields = ("id","manager_price_onsite", "manager_price_onsite",
"player_price_online", "player_price_onsite")
read_only_fields = (
"id",
"manager_price_online",
"manager_price_onsite",
"player_price_online",
"player_price_onsite",
)
fields = "__all__"


Expand Down

0 comments on commit 9a45e6e

Please sign in to comment.