Calculates board tenure in years

def tenure(self):
        """
        Calculates board tenure in years
        """
        if self.end_date:
            return round((date.end_date - self.start_date).days / 365., 2)
        else:
            return round((date.today() - self.start_date).days / 365., 2)