Rescore after changing time
This commit is contained in:
parent
a512694976
commit
d42cf64abd
1 changed files with 8 additions and 1 deletions
|
@ -285,7 +285,14 @@ class ContestAdmin(CompareVersionAdmin):
|
|||
self._rescored = False
|
||||
if form.changed_data and any(
|
||||
f in form.changed_data
|
||||
for f in ("format_config", "format_name", "freeze_after")
|
||||
for f in (
|
||||
"start_time",
|
||||
"end_time",
|
||||
"time_limit",
|
||||
"format_config",
|
||||
"format_name",
|
||||
"freeze_after",
|
||||
)
|
||||
):
|
||||
self._rescore(obj.key)
|
||||
self._rescored = True
|
||||
|
|
Loading…
Reference in a new issue