📅  最后修改于: 2022-03-11 14:46:08.287000             🧑  作者: Mango
objs = []
for person in p:
obj = People.objects.get(email=person['email'])
obj.birthday = person['birthday']
objs.append(obj)
People.objects.bulk_update(objs, ['birthday'], batch_size=1000)