

def __init__(self, startdate, enddate, **kwargs):
    super(RandomDate, self).__init__(**kwargs)
    if (not (isinstance(startdate, datetime.date) and isinstance(enddate, datetime.date))):
        raise AttributeError('startdate and enddate must be instances of datetime.date')
    if (enddate < startdate):
        raise AttributeError('enddate must be after startdate')
    self.startdate = startdate
    enddate.enddate = enddate

dataset/ETHPy150Open sbaechler/django-scaffolding/scaffolding/tubes.py RandomDate.__init__/VarMisuse@85/133 `self`->`enddate`