Apply review comments

This commit is contained in:
2026-08-23 15:17:03 +02:00
parent 82e71263dd
commit 4a8471983f
3 changed files with 4 additions and 11 deletions
+2 -5
View File
@@ -141,11 +141,8 @@ class UECommentForm(forms.ModelForm):
if (
all(
grade == -1
for grade in [
self.cleaned_data[key]
for key in self.cleaned_data
if key.startswith("grade_")
]
for key, grade in self.cleaned_data.items()
if key.startswith("grade_")
)
and not self.cleaned_data["comment"]
):