Commit 9a7ce717 authored by Michal Čihař's avatar Michal Čihař

Exclude strings with same checksum

parent 82c680a0
......@@ -210,4 +210,4 @@ class UnitManager(models.Manager):
return self.filter(
translation__subproject__project = unit.translation.subproject.project,
translation__language = unit.translation.language,
checksum__in = ret).exclude(id = unit.id)
checksum__in = ret).exclude(checksum = unit.checksum)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment