擅长:python、mysql、java
<p>@伊夫林茨</p>
<p>您可以使用<code>prefech_related</code>来获取相关对象的值,请检查<a href="https://docs.djangoproject.com/en/2.1/ref/models/querysets/#prefetch-related" rel="nofollow noreferrer">https://docs.djangoproject.com/en/2.1/ref/models/querysets/#prefetch-related</a></p>