for value in collectionFiles:
    identifier = value['identifier']
name = value['name']
collection_entity = Collection.objects.filter(identifier=identifier).get()
File(identifier=collection_entity, name=name).save()
Связь внешнего ключа с peewee и python