diff --git a/contest/views.py b/contest/views.py index 83a5219..de65a9b 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"εˆ›ε»ΊζˆεŠŸ")