Set is_rated=False for cloned contest

This commit is contained in:
cuom1999 2023-11-10 00:37:21 -06:00
parent 0b4eeb8751
commit 0cb981db9f

View file

@ -498,6 +498,7 @@ class ContestClone(ContestMixin, TitleMixin, SingleObjectFormView):
contest.is_visible = False
contest.user_count = 0
contest.key = form.cleaned_data["key"]
contest.is_rated = False
contest.save()
contest.tags.set(tags)