@any_field.register(models.DateTimeField)
def any_datetime_field(field, **kwargs):
    from_date = kwargs.get('from_date', datetime(1990, 1, 1))
    to_date = kwargs.get('to_date', datetime.today())
    return xunit.any_datetime(from_date=from_date, to_date=to_date)
Return random value for DateTimeField,
dataset/ETHPy150Open kmmbvnr/django-any/django_any/models.py/any_datetime_field