From 738d67a9c599f8c2b198232aa4d7ae74de585fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 29 Feb 2012 09:57:04 +0100 Subject: [PATCH] Update translation stats on save --- trans/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/trans/models.py b/trans/models.py index cd552a4d6..f18341890 100644 --- a/trans/models.py +++ b/trans/models.py @@ -353,6 +353,7 @@ class Unit(models.Model): (saved, pounit) = self.translation.update_unit(self, request) self.translated = pounit.istranslated() self.save(backend = True) + self.translation.update_stats() # Propagate to other projects if propagate: allunits = Unit.objects.filter(