<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def migrate_constituencies(apps, schema_editor):
 """ Re-save constituencies to recompute fingerprints """

    Constituency = apps.get_model("representatives", "Constituency")
    for c in Constituency.objects.all():
        c.save()