From: Guillaume Pellerin Date: Mon, 26 Jan 2026 21:14:23 +0000 (+0100) Subject: add args X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=47c8dca406687ceed5daf25b3a31b7b5cd9dee98;p=teleforma.git add args --- diff --git a/teleforma/management/commands/teleforma-get-same-scripts.py b/teleforma/management/commands/teleforma-get-same-scripts.py index 21d479cd..a97429d0 100644 --- a/teleforma/management/commands/teleforma-get-same-scripts.py +++ b/teleforma/management/commands/teleforma-get-same-scripts.py @@ -7,6 +7,9 @@ from datetime import datetime, timedelta class Command(BaseCommand): help = "Get all users having uploaded the same script filename" + def add_arguments(self, parser): + parser.add_argument('args', nargs='*') + def handle(self, *args, **options): name = args[0] period = Period.objects.get(name=name)