Set is_rated=False for cloned contest
This commit is contained in:
parent
0b4eeb8751
commit
0cb981db9f
1 changed files with 1 additions and 0 deletions
|
@ -498,6 +498,7 @@ class ContestClone(ContestMixin, TitleMixin, SingleObjectFormView):
|
||||||
contest.is_visible = False
|
contest.is_visible = False
|
||||||
contest.user_count = 0
|
contest.user_count = 0
|
||||||
contest.key = form.cleaned_data["key"]
|
contest.key = form.cleaned_data["key"]
|
||||||
|
contest.is_rated = False
|
||||||
contest.save()
|
contest.save()
|
||||||
|
|
||||||
contest.tags.set(tags)
|
contest.tags.set(tags)
|
||||||
|
|
Loading…
Reference in a new issue