Commit 419e00a8ed2780301006cd1760dc6b952b038532
1 parent
97972d72
poprawka do przywracania usuniętych leksemów
Showing
1 changed file
with
1 additions
and
1 deletions
dictionary/models.py
... | ... | @@ -677,7 +677,7 @@ class Lexeme(Model): |
677 | 677 | self.deleted = False |
678 | 678 | self.fix_homonym_number() |
679 | 679 | self.save() |
680 | - self.history_set.get(column_name='usuniety').delete() | |
680 | + self.history_set.get(column_name='usuniety', old_value='false').delete() | |
681 | 681 | |
682 | 682 | def sgjp_info(self): |
683 | 683 | commonness = Classification.objects.get(name=u'pospolitość') |
... | ... |