def forward_migrate_group_curators(apps, schema_editor):
 Group = apps.get_model(u'groups', u'Group')
 for group in Group.objects.all():
  if group.curator:
   group.curators.add(group.curator)
   group.save()

def forward_migrate_group_curators ( apps , schema_editor ) : Group = apps . get_model ( u'groups' , u'Group' ) for group in Group . objects . all ( ) : if group . curator : group . curators . add ( group . curator ) group . save ( )
migrate forwards all the data for the foreignkey curator to the m2m field curators .