From b528f5b86131bcb237f25907f45b3dd8c7e01ae8 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Mon, 30 May 2016 16:57:51 +0800 Subject: [PATCH] =?UTF-8?q?openapi=E4=B8=AD=E6=B3=84=E9=9C=B2=E4=BA=86spj?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problem/serizalizers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problem/serizalizers.py b/problem/serizalizers.py index 1682d3b51..95f3ccc70 100644 --- a/problem/serizalizers.py +++ b/problem/serizalizers.py @@ -63,7 +63,7 @@ class OpenAPIProblemSerializer(BaseProblemSerializer): class Meta: model = Problem - exclude = ["visible", "test_case_id"] + exclude = ["visible", "test_case_id", "spj_language", "spj_code", "spj_version"] class EditProblemSerializer(serializers.Serializer):