def next(self):
        delta = (self.enddate - self.startdate).days
        moment = self.startdate + datetime.timedelta(random.randint(0, delta))
        if self.timezone:
            moment = make_aware(moment, self.timezone)
        return moment
dataset/ETHPy150Open sbaechler/django-scaffolding/scaffolding/tubes.py/RandomDatetime.next/original