@any_field.register(models.IPAddressField)
def any_ipaddress_field(field, **kwargs):
    nums = [str(xunit.any_int(min_value=0, max_value=255)) for _ in xrange(0, 4)]
    return ".".join(nums)
Return random value for IPAddressField
dataset/ETHPy150Open kmmbvnr/django-any/django_any/models.py/any_ipaddress_field