Add README

This commit is contained in:
zema1 committed 2017-11-29 17:01:48 +08:00
1 parent 13e3260fd3
commit 996ced349a
2 files changed
+56 -22

No files matched your search

+1
View File
@@ -421,6 +421,7 @@ class MakeContestProblemPublicAPIView(APIView):
problem.pk = None
problem.contest = None
problem._id = display_id
problem.visible = False
problem.submission_number = problem.accepted_number = 0
problem.statistic_info = {}
problem.save()