From cd1fc1dc5857b85e8820fbc1345d7c262fb7441f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 13 Jan 2022 17:59:53 +0100 Subject: [PATCH] add args --- teleforma/management/commands/teleforma-deactivate-students.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teleforma/management/commands/teleforma-deactivate-students.py b/teleforma/management/commands/teleforma-deactivate-students.py index e9fa274f..02e87b70 100644 --- a/teleforma/management/commands/teleforma-deactivate-students.py +++ b/teleforma/management/commands/teleforma-deactivate-students.py @@ -29,6 +29,9 @@ class Command(BaseCommand): help = "Deactivate student user for a given period" language_code = 'fr_FR' + def add_arguments(self, parser): + parser.add_argument('args', nargs='*') + def handle(self, *args, **options): log_file = args[-1] period_name = args[-2] -- 2.39.5