Skip to content

Commit

Permalink
Allow replacing an user in a game
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Nov 20, 2023
1 parent 5b2238c commit ca2d07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion games/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_urls(self):

@admin.register(GamePlayer)
class GamePlayerAdmin(admin.ModelAdmin):
readonly_fields = ["game", "user", "position"]
readonly_fields = ["game", "position"]


@admin.register(Card)
Expand Down

0 comments on commit ca2d07e

Please sign in to comment.