Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
Fix check consistency script
· 47dc4dd9
ynerant
authored
Aug 05, 2020
47dc4dd9
Hide whitespace changes
Inline
Side-by-side
management/commands/check_consistency.py
View file @
47dc4dd9
...
...
@@ -28,7 +28,7 @@ class Command(BaseCommand):
else
:
self
.
stdout
.
write
(
self
.
style
.
SUCCESS
(
"
La somme des notes vaut bien zéro.
"
))
notes
=
No
ne
notes
=
No
te
.
objects
.
none
()
if
options
[
"
check_all
"
]:
notes
=
Note
.
objects
.
all
()
elif
options
[
"
check
"
]:
...
...