Skip to content

Commit

Permalink
Document E164 lack of support for phone extensions
Browse files Browse the repository at this point in the history
While changing the default is likely to cause large breakage, we can at
least advertise that limitation and allow people to pick the
INTERNATIONAL format (E163) if they need to support extensions.
  • Loading branch information
francoisfreitag committed Apr 26, 2023
1 parent 58d0bc1 commit ac54915
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@ Default: ``"E164"``.

Choices:

- ``"E164"``,
- ``"INTERNATIONAL"``,
- ``"RFC3966"``,
- ``"E164"`` (public international numbers),
- ``"INTERNATIONAL"`` (international numbers, possibly with phone extensions),
- ``"RFC3966"`` (international numbers, possibly with phone extensions),
- ``"NATIONAL"`` (discouraged, requires :setting:`PHONENUMBER_DEFAULT_REGION`).

.. setting:: PHONENUMBER_DEFAULT_REGION
Expand All @@ -392,7 +392,7 @@ Default: ``"E164"``.

Choices:

- ``"E164"``,
- ``"E164"`` (no support of phone extensions),
- ``"INTERNATIONAL"``,
- ``"RFC3966"``,
- ``"NATIONAL"`` (discouraged, fails to represent international phone numbers).

0 comments on commit ac54915

Please sign in to comment.