您好我有两个对象:
class A(models.Model):
...
class B(models.Model):
a = models.ForeignKey(A)
在管理员中,我想过滤一个与其关联的B超过2个的对象。这可能吗?
我尝试添加' b_set__count'列出过滤器,但我收到此错误
The value of 'list_filter[2]' refers to 'b_set__count', which does not refer to a Field.