mirror of
https://github.com/ae-utbm/sith.git
synced 2026-08-26 07:09:16 +00:00
Apply review comments
This commit is contained in:
+2
-5
@@ -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"]
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user