def isCommaSeparatedIntegerList(field_data, all_data):
    for supposed_int in field_data.split(','):
        try:
            int(supposed_int)
        except __HOLE__:
            raise ValidationError, gettext("Enter only digits separated by commas.")
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/core/validators.py/isCommaSeparatedIntegerList