Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
blank=True, null=True可以毫无问题地给予ManyToManyField 吗?或者也许我的代码做错了什么..
blank=True, null=True
你不需要null=True。
null=True
blank=True将使该字段可选。
blank=True