首页PythonDjango admin list_display展示外键内容LLan2020.09.12— 阅读list_display = ['user_email'] def user_email(self, obj): return obj.userFor.userId