kopia lustrzana https://gitlab.com/marnanel/chapeau
save() when creating mentions
rodzic
f1c5b28282
commit
08a1de4857
|
@ -267,6 +267,10 @@ class Thing(PolymorphicModel):
|
||||||
# Special-cased side effects:
|
# Special-cased side effects:
|
||||||
|
|
||||||
if name=='tag':
|
if name=='tag':
|
||||||
|
|
||||||
|
# We must save, in order for Mention's fk to point to us
|
||||||
|
self.save()
|
||||||
|
|
||||||
Mention.set_from_tags(
|
Mention.set_from_tags(
|
||||||
status=self,
|
status=self,
|
||||||
tags=value,
|
tags=value,
|
||||||
|
|
Ładowanie…
Reference in New Issue