I'm a django developer, we have been working on 1.3. Now wanted to give a try to latest version i.e. 1.8.1. Since there are many changes from 1.3 to 1.8.1. Wanted to know is there any kind of PhoneField
in Django which should store multiple phone numbers in one field.
I was thinking of using JSON field for that purpose like
- Should support multiple numbers
- Should support "-" in the number
- Should support country codes like +XX
- Should support regx validation for phone number.
With JSON field I might be able to achieve that easily but validation would need separate functions.
contact_info = json.JSONField("ContactInfo", default=contact_default)
I found this but don't think much differ from Textfield.