'Renew'

def renew(self):

    if (self.cycle_period == 'monthly'):
        p = relativedelta(months=(+ 1))
    elif (self.cycle_period == 'daily'):
        p = timedelta(days=1)
    elif (self.cycle_period == 'weekly'):
        p = timedelta(weeks=1)
    elif (self.cycle_period == 'quarterly'):
        p = relativedelta(months=(+ 4))
    elif (self.cycle_period == 'yearly'):
        p = relativedelta(years=1)
    else:
        p = relativedelta(months=(+ 1))
    self.cycle_end = (datetime.now().date() + p)
    self.save()
