save() when creating mentions

2019-08-17
Marnanel Thurman 2019-07-09 11:04:30 +01:00
rodzic f1c5b28282
commit 08a1de4857
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -267,6 +267,10 @@ class Thing(PolymorphicModel):
# Special-cased side effects:
if name=='tag':
# We must save, in order for Mention's fk to point to us
self.save()
Mention.set_from_tags(
status=self,
tags=value,