django-orchestra/orchestra/contrib/contacts/validators.py
2023-07-09 07:51:51 +00:00

8 lines
163 B
Python

from orchestra.core import validators
from . import settings
def validate_phone(phone):
validators.validate_phone(phone, settings.CONTACTS_DEFAULT_COUNTRY)