Uncategorized

Debian — Details of package python-django-phonenumber-field-doc in trixie


Model and form field for normalised phone numbers (Documentation)

A Django library which interfaces with python-phonenumbers to validate,
pretty print and convert phone numbers. python-phonenumbers is a port of
Google’s libphonenumber library, which powers Android’s phone number
handling.

Included are:

 * PhoneNumber, a pythonic wrapper around python-phonenumbers' PhoneNumber
   class
 * PhoneNumberField, a model field
 * PhoneNumberField, a form field
 * PhoneNumberField, a serializer field
 * PhoneNumberPrefixWidget, a form widget for selecting a region code and
   entering a national number.  Requires the Babel package be installed.
 * PhoneNumberInternationalFallbackWidget, a form widget that uses national
   numbers unless an international number is entered.  A
   PHONENUMBER_DEFAULT_REGION setting needs to be added to your Django
   settings in order to know which national number format to recognize.

This package contains the documentation.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *