What's the best way to store Phone number in Django models
I am storing a phone number in model like this: phone_number = models.CharField(max_length=12) User would enter a phone number and I would use the phone number for SMS Authentication This application would be used globally. So I would also need country code. Is CharField a good way to store phone number? And, how do I validate the phone number? Thanks in advance. erewok You might actually look into the internationally standardized format E.164 , recommended by Twilio for example (who have a service and an API for sending SMS or phone-calls via REST requests). This is likely to be the most