./www/py-django-phonenumber-field, Django library for managing phone numbers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.1.0, Package name: py312-django-phonenumber-field-8.1.0, Maintainer: pkgsrc-users

django-phonenumber-field is a Django library which interfaces with
python-phonenumbers to validate, pretty print and convert phone numbers.


Master sites:

Filesize: 42.826 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-14 20:45:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-phonenumber-field: updated to 8.1.0

8.1.0

Remove non-geo phone numbers from the SplitPhoneNumberWidget

The phone number prefix field allows to select a world region, and maps to its \ 
prefix (e.g. get +33 for France). It was incorrectly offering regions reserved \ 
for very specific use and which cannot be mapped to a world region. Example \ 
prefixes include 800 (Universal International Freephone Service), 808 (Universal \ 
International Shared Cost Number), 870 (Global Mobile Satellite System), and \ 
others.
If such a prefix was selected, the field would plainly crash. Since the prefix \ 
purpose is to let users select a world region, prevent from selecting non-geo \ 
options in the prefix list. Please open an issue if you would like to see this \ 
use case supported.

Document how to customize SplitPhoneNumberField fields

Clarify translations context for error messages
   2024-11-26 11:25:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django-phonenumber-field: updated to 8.0.0

8.0.0

Breaking changes

Remove PhoneNumberInternationalFallbackWidget

Use phonenumber_field.widgets.RegionalPhoneNumberWidget instead.

Move validation from widgets to the form fields

Previously, the widgets were validating the phone number, leaving no room for \ 
the django regular validation procedure. If you performed custom validation on \ 
PhoneNumberFields, see the migration guide below.

Other changes

Drop support for Django 4.1
docs: Fix representation of serializer
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-02-08 15:41:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-phonenumber-field: updated to 7.3.0

7.3.0

Add support for Django 5.0
Document phone number extension handling
Make PhoneNumberPrefixSelect use the provided region
Update Italian locale

7.2.0

BREAKING: Add a DB converter for the model field, fixing values_list() of \ 
PhoneNumberFields
Use public attributes and methods from phonenumbers
Remove zip_safe flag from setup.cfg
feat: Add mypy to CI
Drop support for Python 3.7
Show support for Python 3.11
Add support for Python 3.12

7.1.0

Update Norwegian translations
Drop support for Django 4.0, add Django 4.2

Miscellaneous

Update python and Django matrix
Add common virtualenv locations to flake8 exclude and .gitignore
Document E164 lack of support for phone extensions
Strip trailing line from beautifulsoup prettify output
   2023-09-29 00:31:08 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Fix permissions when building as root
   2023-07-13 12:03:31 by Thomas Klausner | Files touched by this commit (45)
Log message:
*: switch django users to py-django3
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz