diff --git a/apps/contests/models.py b/apps/contests/models.py index 77c9e43..f328143 100644 --- a/apps/contests/models.py +++ b/apps/contests/models.py @@ -50,10 +50,6 @@ def status(self) -> ContestStatus: class ContestAdminForm(forms.ModelForm[Contest]): - class Meta: - model = Contest - fields = "__all__" - def clean_start_time(self) -> Any: start_time = self.cleaned_data.get("start_time") if start_time and start_time <= timezone.now():