def add_default_projector(apps, schema_editor):
    # We get the model from the versioned app registry;
    # if we directly import it, it will be the wrong version.
    Projector = apps.get_model('core', 'Projector')
    projector_config = {}
    projector_config[uuid.uuid4().hex] = {
        'name': 'core/clock',
        'stable': True}
    # We use bulk_create here because we do not want model's save() method
    # to be called because we do not want our autoupdate signals to be
    # triggered.
    Projector.objects.bulk_create([Projector(config=projector_config)])
Initialize a template.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/core/migrations/0001_initial.py/add_default_projector--crossover with--dataset/ETHPy150Open openstack/rack/rack/api/xmlutil.py/Template.__init__