From ca2d07eefad6ef5d2e2cd27c446f75361f2d9908 Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Mon, 20 Nov 2023 19:32:47 +0100 Subject: [PATCH] Allow replacing an user in a game --- games/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/admin.py b/games/admin.py index bf1901f..2a9b1ea 100644 --- a/games/admin.py +++ b/games/admin.py @@ -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)