On renomme le dépouillement condorcet

This commit is contained in:
Tom Hubrecht 2021-04-04 23:54:48 +02:00
parent b08ca18850
commit 74b962986a
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ CAST_FUNCTIONS = {
TALLY_FUNCTIONS = { TALLY_FUNCTIONS = {
"assentiment": "tally_select", "assentiment": "tally_select",
"uninominal": "tally_select", "uninominal": "tally_select",
"condorcet": "tally_rank", "condorcet": "tally_schultze",
} }
VALIDATE_FUNCTIONS = { VALIDATE_FUNCTIONS = {

View file

@ -95,7 +95,7 @@ class TallyFunctions:
Option.objects.bulk_update(options, ["nb_votes", "winner"]) 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""" """On dépouille un vote par classement et on crée la matrice des duels"""
from .models import Duel, Option, Rank from .models import Duel, Option, Rank