]> git.parisson.com Git - teleforma.git/commitdiff
add args
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 13 Jan 2022 16:59:53 +0000 (17:59 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Thu, 13 Jan 2022 16:59:53 +0000 (17:59 +0100)
teleforma/management/commands/teleforma-deactivate-students.py

index e9fa274f549b1364a0e7aca7aabb04b6d370658a..02e87b703f43ad417f5ac87675097f74cc46911c 100644 (file)
@@ -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]