def add_dc_instructor_badge(apps, schemat_editor):
    Badge = apps.get_model('workshops', 'Badge')
    Badge.objects.create(
        name='dc-instructor', title='Data Carpentry Instructor',
        criteria='Teaching at Data Carpentry workshops or online',
    )
bind to all global events
dataset/ETHPy150Open swcarpentry/amy/workshops/migrations/0064_dc_instructor_badge.py/add_dc_instructor_badge--crossover with--dataset/ETHPy150Open benoitc/gaffer/gaffer/httpclient/websocket.py/GafferSocket.bind_all