Skip to content

Commit 10f0a57

Browse files
committed
Fix OOM on MatchParticipationAdmin details page
1 parent 255afe7 commit 10f0a57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

aiarena/frontend/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ class MatchParticipationAdmin(admin.ModelAdmin):
484484
)
485485
list_filter = ("use_bot_data", "update_bot_data")
486486
list_select_related = ["match", "bot"]
487+
raw_id_fields = ("match", "bot")
487488

488489

489490
@admin.register(MatchTag)

0 commit comments

Comments
 (0)