update acm helper
This commit is contained in:
1 parent
6d32e5de1e
commit
cbe0e297fd
2 files changed
+65
-28
No files matched your search
@@ -489,7 +489,6 @@ class MakeContestProblemPublicAPIView(APIView):
|
||||
return self.error("Already be a public problem")
|
||||
problem.is_public = True
|
||||
problem.save()
|
||||
# https://docs.djangoproject.com/en/1.11/topics/db/queries/#copying-model-instances
|
||||
tags = problem.tags.all()
|
||||
problem.pk = None
|
||||
problem.contest = None
|
||||
|
||||
Reference in new issue
Block a user