擅长:python、mysql、java
<p>如果您使用的是Django 1.7,那么这是可能的。</p>
<p>来自文档:<a href="https://docs.djangoproject.com/en/1.7/topics/db/models/#extra-fields-on-many-to-many-relationships" rel="nofollow">https://docs.djangoproject.com/en/1.7/topics/db/models/#extra-fields-on-many-to-many-relationships</a></p>
<blockquote>
<p>In Django 1.6 and earlier, intermediate models containing more than
one foreign key to any of the models involved in the many-to-many
relationship used to be prohibited.</p>
</blockquote>