class myClass (models.Model):
related_operation = models.ForeignKey('self', null = True)
__related_operation = None
def save(self, force_insert=False, force_update=False):
if self.related_operation != self.__related_operation:
del self.__related_operation
super(Operation, self).save(force_insert, force_update)
self.__related_operation = self.related_operation
del self .__ related_operationを使用する必要がありますか、それともself .__ related_operation.delete()を使用する必要がありますか?