(self, db)
Disable a link.
Disable a link.
Disable a link .
def disable(self, db):
        """Disable a link."""
        self.link.is_disabled = True
        self.link.is_default = False
        db.commit()
def disable ( self , db ) : self . link . is_disabled = True self . link . is_default = False db . commit ( )