def on_translation_presave(sender, instance, **kwargs):
    if instance:
        try:
            old_instance = Translation.objects.get(pk=instance.id)
            if instance.string != old_instance.string:
                instance.reviewed = False
        except Translation.DoesNotExist, e:
            pass

# Resource signal handlers for logging
Use this decorator to set a label for your aggregation functions on charts.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/handlers.py/on_translation_presave--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/group.py/aggregate