擅长:python、mysql、java
<p>我不认为你可以像文档所说的那样在字段查找中使用属性<code>The field specified in a lookup has to be the name of a model field</code><a href="https://docs.djangoproject.com/en/1.8/topics/db/queries/#field-lookups" rel="nofollow">https://docs.djangoproject.com/en/1.8/topics/db/queries/#field-lookups</a></p>