xadmin choices 根据身份不同进行显示choices 的内容 formfield_for_dbfield
classAddConferenceDisplay(object):defformfield_for_dbfield(self,db_field,**kwargs):ifnotself.request.user.is_superuseranddb_field.name=='meeting':kwargs['choices']=((1,'高端会议(预报名,有审核,报名或签到时调研)'),(2,'讲座