On renomme le dépouillement condorcet
This commit is contained in:
parent
b08ca18850
commit
74b962986a
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ CAST_FUNCTIONS = {
|
|||
TALLY_FUNCTIONS = {
|
||||
"assentiment": "tally_select",
|
||||
"uninominal": "tally_select",
|
||||
"condorcet": "tally_rank",
|
||||
"condorcet": "tally_schultze",
|
||||
}
|
||||
|
||||
VALIDATE_FUNCTIONS = {
|
||||
|
|
|
@ -95,7 +95,7 @@ class TallyFunctions:
|
|||
|
||||
Option.objects.bulk_update(options, ["nb_votes", "winner"])
|
||||
|
||||
def tally_rank(question):
|
||||
def tally_schultze(question):
|
||||
"""On dépouille un vote par classement et on crée la matrice des duels"""
|
||||
from .models import Duel, Option, Rank
|
||||
|
||||
|
|
Loading…
Reference in a new issue