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.
我有一个包含 2500 条记录的 csv。导入后,减少到 1100 条记录。DIE 是否删除了它认为重复的内容?如果是,我该如何关闭它?如果没有,是否有推荐的一次导入记录数量?
您应该为它保留一个唯一的字段。
在资源元类中只需添加import_id_fields.
import_id_fields
定义:
import_id_fields = [u'id'] Controls which object fields will be used to identify existing instances.
希望它对你有用。:)