django admin自定义
class CustomerAdmin(admin.ModelAdmin):
list_display = ('id','name','qq','consultant','source','consult_content','status','date') # 显示各个列的详细信息
list_filter = ('source','status','consultant') # 右侧的过滤信息
search_fields = ('qq','name') # 搜索信息
list_editable = ('status',) # 多个值的话出现下拉框