mirror of
https://gitlab.crans.org/bde/nk20-scripts
synced 2025-06-29 17:51:08 +02:00
Fix check consistency script
This commit is contained in:
@ -28,7 +28,7 @@ class Command(BaseCommand):
|
|||||||
else:
|
else:
|
||||||
self.stdout.write(self.style.SUCCESS("La somme des notes vaut bien zéro."))
|
self.stdout.write(self.style.SUCCESS("La somme des notes vaut bien zéro."))
|
||||||
|
|
||||||
notes = None
|
notes = Note.objects.none()
|
||||||
if options["check_all"]:
|
if options["check_all"]:
|
||||||
notes = Note.objects.all()
|
notes = Note.objects.all()
|
||||||
elif options["check"]:
|
elif options["check"]:
|
||||||
|
Reference in New Issue
Block a user