diff --git a/tournaments/admin.py b/tournaments/admin.py index d140a66..36537dd 100644 --- a/tournaments/admin.py +++ b/tournaments/admin.py @@ -63,7 +63,6 @@ class TeamScoreAdmin(admin.ModelAdmin): search_fields = ['id'] raw_id_fields = ['team_registration', 'match'] # Add this line list_per_page = 50 # Controls pagination on the list view - readonly_fields = ['team_registration', 'match'] # Make this field read-only in the edit form def get_queryset(self, request): qs = super().get_queryset(request)