From 13526b109ea1414e31c1c9ab8ec802db89ceb3c5 Mon Sep 17 00:00:00 2001 From: uzi Date: Sat, 7 Nov 2015 11:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E6=AF=94=E8=B5=9B=E9=A2=98=E7=9B=AE?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0=E5=89=8D=E5=8F=B0=E4=BB=A5=E5=90=8E?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A0=87=E8=AE=B0=E4=BB=A5=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contest/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contest/views.py b/contest/views.py index 83a52198..de65a9be 100644 --- a/contest/views.py +++ b/contest/views.py @@ -288,6 +288,8 @@ class MakeContestProblemPublicAPIView(APIView): hint=problem.hint, created_by=problem.created_by, time_limit=problem.time_limit, memory_limit=problem.memory_limit, visible=False, difficulty=-1, source=problem.contest.title) + problem.is_public = True + problem.save() return success_response(u"εˆ›ε»ΊζˆεŠŸ")