跳转到主要内容

为django模型提供国际电话号码字段。

项目描述

https://github.com/stefanfoulis/django-phonenumber-field/workflows/Test/badge.svg https://img.shields.io/coveralls/stefanfoulis/django-phonenumber-field/develop.svg

A Django 库,通过 python-phonenumbers 接口验证、格式化和转换电话号码。 python-phonenumbers 是 Google 的 libphonenumber 库的移植,该库为 Android 的电话号码处理提供支持。

文档

https://django-phonenumber-field.readthedocs.io/

运行测试

需要安装 tox。要使用本地可用的 Python 解释器和生成综合覆盖率报告运行整个测试矩阵,请运行特定的组合

tox

运行特定组合

tox -e py310-djmain,py39-djmain

项目详情


下载文件

下载您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分布

django_phonenumber_field-8.0.0.tar.gz (43.8 kB 查看哈希)

上传时间

构建分布

django_phonenumber_field-8.0.0-py3-none-any.whl (66.4 kB 查看哈希)

上传时间 Python 3

支持者

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面