achievement.management.commands.init_achievements module

初始化 AchievementType Achievement 假定achievement_type都存在

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

基类:BaseCommand

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

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

help = 'init AchievementType Achievement'