📅  最后修改于: 2022-03-11 14:47:21.732000             🧑  作者: Mango
from phonenumber_field.validators import validate_international_phonenumber
phone_number = models.CharField(
max_length=15, validators=[validate_international_phonenumber], unique=True
)