achievement.management.commands.upload_achievements module

excel 上传成就

class achievement.management.commands.upload_achievements.Command(stdout=None, stderr=None, no_color=False, force_color=False)[源代码]

基类:BaseCommand

从excel中导入成就 格式:学号 成就

filepath: excel文件路径

add_arguments(parser)[源代码]

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)[源代码]

The actual logic of the command. Subclasses must implement this method.

help = 'upload achievements from excel'