Extract mailing list registrations

This commit is contained in:
Yohann D'ANELLO 2020-04-22 17:53:42 +02:00
parent 46464f535c
commit 1152a43af5
2 changed files with 40 additions and 2 deletions

View file

@ -2,13 +2,15 @@
# SPDX-License-Identifier: GPL-3.0-or-later
from django.core.management import BaseCommand
from django.utils.translation import gettext_lazy as _
from ...forms import CurrentSurvey
class Command(BaseCommand):
help = _("Attribute to each first year member a bus for the WEI")
help = "Attribute to each first year member a bus for the WEI"
def handle(self, *args, **options):
"""
Run the WEI algorithm to attribute a bus to each first year member.
"""
CurrentSurvey.get_algorithm_class()().run_algorithm()