@any_field.register(models.CharField)
def any_char_field(field, **kwargs):
    min_length = kwargs.get('min_length', 1)
    max_length = kwargs.get('max_length', field.max_length)
    return xunit.any_string(min_length=min_length, max_length=max_length)
Set filtering criteria.
dataset/ETHPy150Open kmmbvnr/django-any/django_any/models.py/any_char_field--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/analytics/main.py/Filter.__init__