开发者

Django ManyToManyField options

开发者 https://www.devze.com 2023-03-04 19:17 出处:网络
It is possible to give blank=True, null=True to ManyToManyField without hav开发者_如何学运维ing problems?

It is possible to give blank=True, null=True to ManyToManyField without hav开发者_如何学运维ing problems? Or maybe I doing something wrong with my code..


You don't need null=True.

blank=True will make that field optional.

0

精彩评论

暂无评论...
验证码 换一张
取 消