From a04cf580a60f3c10974d6f29fcf3e9908012e4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Feb 2012 14:26:04 +0100 Subject: [PATCH] Fix query params --- trans/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans/models.py b/trans/models.py index 9fb51a441..32731026b 100644 --- a/trans/models.py +++ b/trans/models.py @@ -314,7 +314,7 @@ class Unit(models.Model): allunits = Unit.objects.filter( checksum = self.checksum, translation__subproject__project = self.translation.subproject.project, - ).exclude(id == self.id) + ).exclude(id = self.id) for unit in allunits: unit.target = self.target unit.save_backend(request, False)