mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-22 02:18:21 +02:00
WEI Survey (work in progress)
This commit is contained in:
0
apps/wei/management/__init__.py
Normal file
0
apps/wei/management/__init__.py
Normal file
2
apps/wei/management/commands/__init__.py
Normal file
2
apps/wei/management/commands/__init__.py
Normal file
@ -0,0 +1,2 @@
|
||||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
2
apps/wei/management/commands/_private.py
Normal file
2
apps/wei/management/commands/_private.py
Normal file
@ -0,0 +1,2 @@
|
||||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
14
apps/wei/management/commands/wei_algorithm.py
Normal file
14
apps/wei/management/commands/wei_algorithm.py
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from django.core.management import BaseCommand
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from wei.forms import CurrentSurvey
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = _("Attribute to each first year member a bus for the WEI")
|
||||
|
||||
def handle(self, *args, **options):
|
||||
CurrentSurvey.get_algorithm_class()().run_algorithm()
|
Reference in New Issue
Block a user