This commit is contained in:
@@ -54,7 +54,7 @@ class CompetitionAdmin(ModelAdmin):
|
||||
'fields': ('start_time', 'end_time', 'status', 'project_visibility', 'allow_contestant_grading', 'is_active')
|
||||
}),
|
||||
('评分配置', {
|
||||
'fields': ('score_calculation_type', 'custom_score_formula', 'active_formula'),
|
||||
'fields': ('score_calculation_type', 'active_formula'),
|
||||
'description': '配置得分计算方式:默认加权平均或使用评分公式'
|
||||
}),
|
||||
)
|
||||
@@ -183,7 +183,7 @@ class ScoreFormulaAdmin(ModelAdmin):
|
||||
}),
|
||||
('公式配置', {
|
||||
'fields': ('formula',),
|
||||
'description': '使用维度名称作为变量,例如: 创新性 * 0.3 + 实用性 * 0.5 + 演示效果 * 0.2'
|
||||
'description': '使用 dimension_X 作为变量(X为维度ID),例如: (dimension_1 + dimension_2) / 2'
|
||||
}),
|
||||
('公式设置', {
|
||||
'fields': ('is_active', 'is_default')
|
||||
|
||||
Reference in New Issue
Block a user