A Django app that provides a phone number field for Django admin, integrating the Google libphonenumber library (via phonenumbers) for validation and formatting. Version 1.0.1 has minimal updates; the project is in maintenance mode with no recent releases.
pip install django-phonenumbersNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define a model with a phone number field.
Use 'from phone_fields import PhoneNumberField' instead of 'from django_phonenumbers import ...'.
Consider using a custom model field that deserializes to a PhoneNumber object, or manually parse the string using the phonenumbers library.
Switch to django-phonenumber-field (different package) which is actively maintained and supports Django 3.x/4.x.