报错: 修改: 原来语句: 原语句if field.rel.limit_choices_to: 修改后:将rel修改为 remote_field if field.remote_field.limit_choices_to: