stefanfoulis / django-phonenumber-field

A django model and form field for normalised phone numbers using python-phonenumbers
MIT License
1.48k stars 318 forks source link

Support numbers as phone numbers #610

Open codinghipster opened 2 months ago

codinghipster commented 2 months ago

The Django CharField (for better or worse) supports numbers, which it will then coerce into a string before saving.

If you switch from CharField to PhonenumberField on a given model, you may see regressions where you were previously taking in a number.