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