擅长:python、mysql、java
<p>尝试正确的嵌套元组语法<code>((foo,bar),)</code>,而不仅仅是<code>(foo, bar)</code>?</p>
<p><a href="https://docs.djangoproject.com/en/dev/ref/models/options/#unique-together" rel="noreferrer">https://docs.djangoproject.com/en/dev/ref/models/options/#unique-together</a></p>