【发布时间】:2020-07-15 13:03:12
【问题描述】:
它可以用于泛型关系吗?我没有在文档中看到它。
获得直通表的天真尝试:
In [4]: Asset.related_images.through
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-d541db71a7a5> in <module>()
----> 1 Asset.related_images.through
AttributeError: 'ReverseGenericManyToOneDescriptor' object has no attribute 'through'
【问题讨论】:
标签: python django django-models django-signals