I have a Django model:
class Event(models.Model):
fk = models.ForeignKey(Foreign, null=True, on_delete=models.SET_NULL)
display = display = models.BooleanField(default=True)
...
I'd like to override the save method to turn off display for other events that share the fk value. However, I keep reaching infinite recursion loops because if I override the save method and then save the other objects, it keeps calling the function. Is there a way to only run the save method on the first object that's saved and not keep creating recursive instances?