Fix query params

This commit is contained in:
Michal Čihař 2012-02-28 14:26:04 +01:00
parent ede1fe5a5c
commit a04cf580a6

View File

@ -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)