解决 AttributeError: 'ForeignKey' object has no attribute 'rel'
解决办法
# print('rel...',filter_field_obj.re.to.objects.all())
print("rel...", filter_field_obj.remote_field.model.objects.all())
步骤
forekey中存在rel,诶什么不能调用?
publish 1111111111 app01.Book.publish 2222222222 <class 'django.db.models.fields.related.ForeignKey'> rel... { 'name': 'publish', 'verbose_name':