achievement.admin module

class achievement.admin.AchievementAdmin(model, admin_site)[源代码]

基类:ModelAdmin

list_display = ['name', 'description', 'achievement_type', 'hidden', 'auto_trigger']
property media
search_fields = ['name']
class achievement.admin.AchievementTypeAdmin(model, admin_site)[源代码]

基类:ModelAdmin

list_display = ['title', 'description']
property media
search_fields = ['title']
class achievement.admin.AchievementUnlockAdmin(model, admin_site)[源代码]

基类:ModelAdmin

list_display = ['user', 'achievement', 'time', 'private']
property media
search_fields = ['user__username', 'user__name', 'user__pinyin', 'user__acronym', 'achievement__name']