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.
如何将 Django 配置为不默认字段不为空?
Django 默认所有创建的字段为 NOT NULL。除了关键字段的明显情况外,是否可以将其配置为相反?
null=True, blank=True,文档, 文档, 文档
null=True, blank=True