import django.core.management from cmsmanage.django_q2_helper import q_task_group # TODO: this probably should be more global, instead of owned by membershipworks app @q_task_group("Clean Duplicate History") def q_clean_duplicate_history(): django.core.management.call_command("clean_duplicate_history", "--auto")