Fix query params
This commit is contained in:
parent
ede1fe5a5c
commit
a04cf580a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user