stefanfoulis / django-phonenumber-field

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

Support numbers as phone numbers #610

Open codinghipster opened 3 months ago

codinghipster commented 3 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.