def clean(self, value):
    super(IPField, self).clean(value)
    return str(getattr(self, 'ip', ''))
def clean(self, value):
    super(IPField, self).clean(value)
    return str(getattr(self, 'ip', ))