diff --git a/judge/admin/problem.py b/judge/admin/problem.py index 4d29b6a..164caa1 100644 --- a/judge/admin/problem.py +++ b/judge/admin/problem.py @@ -228,7 +228,7 @@ class ProblemAdmin(VersionAdmin): return form def save_model(self, request, obj, form, change): - super(ProblemAdmin, self).save_model(request, obj, form, change) + super().save_model(request, obj, form, change) if form.changed_data and any(f in form.changed_data for f in ('is_public', 'points', 'partial')): self._rescore(request, obj.id) diff --git a/templates/problem/list.html b/templates/problem/list.html index 0a8e1ac..115a818 100644 --- a/templates/problem/list.html +++ b/templates/problem/list.html @@ -204,6 +204,9 @@