2020
09-24
09-24
django xadmin 管理器常用显示设置方式
课程管理器:classCourseAdmin(object):#设置列表显示字段list_display=['name','course_org','detail','degree','learn_times','students','fav_nums','image','click_nums','add_time']#设置列表查询字段search_field=['name','course_org','detail','degree','learn_times','students','fav_nums','image','click_nums']#设置列表过滤字段list_filter=['name','course_org','detail','degree','lea...
继续阅读 >