def validate(self, value):
    self.addresses = []
    if value:
        addresses = value.split(',')
        for ip in addresses:
            super(MultiIPField, self).validate(ip)
            self.addresses.append(ip)
    else:
        super(MultiIPField, self).validate(value)
def validate(self, value):
    self.addresses = []
    if value:
        addresses = value.split(',')
        for ip in addresses:
            super(MultiIPField, self).validate(ip)
            self.addresses.append(ip)
    else:
        super(MultiIPField, self).validate(value)