@any_form_field.register(forms.IPAddressField)
def ipaddress_field_data(field, **kwargs):
    choices = kwargs.get('choices')
    if choices:
        return random.choice(choices)
    else:
        nums = [str(xunit.any_int(min_value=0, max_value=255)) for _ in xrange(0, 4)]
        return ".".join(nums)
The continue callback of a L{Deferred} waiting for another L{Deferred}
dataset/ETHPy150Open kmmbvnr/django-any/django_any/forms.py/ipaddress_field_data--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/DeferredTestCase.test_continueCallbackNotFirst