From 0cb981db9fe28d3d8eb68c0a4a528a60e4082825 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 10 Nov 2023 00:37:21 -0600 Subject: [PATCH] Set is_rated=False for cloned contest --- judge/views/contests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/judge/views/contests.py b/judge/views/contests.py index ae21e40..6fc4130 100644 --- a/judge/views/contests.py +++ b/judge/views/contests.py @@ -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)