

def __unicode__(self):
    format_string = getattr(settings, 'PHONENUMBER_DEFAULT_FORMAT', 'E164')
    fmt = self.format_map[format_string]
    return self.format_as(fmt)

dataset/ETHPy150Open stefanfoulis/django-phonenumber-field/phonenumber_field/phonenumber.py PhoneNumber.__unicode__/original