【发布时间】:2022-07-18 22:21:29
【问题描述】:
想象一下我的数据库中存储了数据。根据 Djnago 约定,模型包含一个带有 blank=True 但没有 null=True 的 Django-TextField。数据是通过管理菜单创建的。空文本字段存储为空字符串,可以正常工作。但是通过 django-import-export 导入会抛出 violates not-null constraint DETAIL: Failing row contains。这是 djnago-import-export 的问题吗?
【问题讨论】:
标签: python django null textfield import-from-excel