Extract mailing list registrations
This commit is contained in:
parent
46464f535c
commit
1152a43af5
2 changed files with 40 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue