Noch mehr Einstellungen für Kasu Ranking, um es an das neue Dan System anpassen zu können.

This commit is contained in:
2017-12-22 10:54:11 +01:00
parent 1fdf88c6d2
commit 8ab99ec039

View File

@@ -229,7 +229,7 @@ LOGGING = {
'loggers': {
'django': {
'handlers': ['console'],
'level': 'INFO',
'level': 'DEBUG',
'propagate': True,
},
'django.request': {
@@ -246,6 +246,20 @@ LOGGING = {
}
}
################################
# Settings for mahjong_ranking #
################################
MIN_HANCHANS_FOR_LADDER = 5
RANKING_EXPORT_PATH = path.join(PROJECT_PATH, 'backup', 'mahjong_ranking')
# Old Tournament System
TOURNAMENT_POINT_SYSTEM = True
TOURNAMENT_WIN_BONUSPOINTS = 4
TOURNAMENT_FLAWLESS_VICTORY_BONUSPOINTS = 8
# Old Dan System
DAN_ALLOW_DROP_DOWN = True
DAN_RANKS = (
(80, 9),
(70, 8),
@@ -255,7 +269,7 @@ DAN_RANKS = (
(30, 4),
(20, 3),
(10, 2),
(0, 1),
(-1, 1),
)
KYU_RANKS = (
@@ -268,13 +282,9 @@ KYU_RANKS = (
(15, 7),
(10, 8),
(5, 9),
(0, 10),
(-1, 10),
)
DAN_ALLOW_DROP_DOWN = True
MIN_HANCHANS_FOR_LADDER = 5
RANKING_EXPORT_PATH = path.join(PROJECT_PATH, 'backup', 'mahjong_ranking')
try:
from .local_settings import * # Ignore PyLintBear (W0401, W0614)
except ImportError: