From fba8f1e94f3044bce6c6a4edf932b518bd403466 Mon Sep 17 00:00:00 2001 From: Nathan Kim Date: Sun, 5 Feb 2023 14:53:09 -0500 Subject: [PATCH] Add missing fields to enable creation --- backend/siarnaq/api/episodes/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/siarnaq/api/episodes/admin.py b/backend/siarnaq/api/episodes/admin.py index 25aff65a2..e8157c81e 100644 --- a/backend/siarnaq/api/episodes/admin.py +++ b/backend/siarnaq/api/episodes/admin.py @@ -231,6 +231,7 @@ class TournamentRoundAdmin(admin.ModelAdmin): fields = ( "name", "tournament", + "display_order", "external_id", "release_status", "maps", @@ -252,7 +253,7 @@ class TournamentRoundAdmin(admin.ModelAdmin): "display_order", "external_id", ) - readonly_fields = ("external_id", "in_progress") + readonly_fields = ("in_progress",) def get_queryset(self, request): return (