|
|
|
@ -61,7 +61,6 @@ class TeamScoreAdmin(admin.ModelAdmin): |
|
|
|
list_display = ['team_registration', 'score', 'walk_out', 'match'] |
|
|
|
list_display = ['team_registration', 'score', 'walk_out', 'match'] |
|
|
|
list_filter = [TeamScoreTournamentListFilter] |
|
|
|
list_filter = [TeamScoreTournamentListFilter] |
|
|
|
search_fields = ['id'] |
|
|
|
search_fields = ['id'] |
|
|
|
raw_id_fields = ['team_registration', 'match'] # Add this line |
|
|
|
|
|
|
|
list_per_page = 50 # Controls pagination on the list view |
|
|
|
list_per_page = 50 # Controls pagination on the list view |
|
|
|
|
|
|
|
|
|
|
|
def get_queryset(self, request): |
|
|
|
def get_queryset(self, request): |
|
|
|
|