def daily(self, component): language_consistency.delay( component.project_id, list( Language.objects.filter( translation__component=component).values_list("pk", flat=True)), )
def post_add(self, translation): language_consistency.delay( translation.component.project_id, [translation.language_id], )