def update_slugs(apps, schema_editor):
    """
    Include birthdate in slugs
    """

    # Get model managers
    Representative = apps.get_model("representatives", "Representative")

    for rep in Representative.objects.all():
        rep.slug = '%s-%s' % (rep.slug, rep.birth_date)
        rep.save()
Include birthdate in slugs