|
|
@ -727,7 +727,7 @@ class Tema(Problem): |
|
|
|
def save(self, *args, **kwargs): |
|
|
|
super().save(*args, **kwargs) |
|
|
|
# *Node.save() aktualizuje název *Nodu. |
|
|
|
for tvcn in self_temavcislenode_set: |
|
|
|
for tvcn in self_temavcislenode_set.all(): |
|
|
|
tvcn.save() |
|
|
|
|
|
|
|
class Clanek(Problem): |
|
|
@ -779,7 +779,7 @@ class Text(SeminarModelBase): |
|
|
|
def save(self, *args, **kwargs): |
|
|
|
super().save(*args, **kwargs) |
|
|
|
# *Node.save() aktualizuje název *Nodu. |
|
|
|
for tn in self.textnode_set: |
|
|
|
for tn in self.textnode_set.all(): |
|
|
|
tn.save() |
|
|
|
|
|
|
|
|
|
|
|