django-orchestra-test/orchestra/contrib/contacts/validators.py

8 lines
163 B
Python
Raw Normal View History

2023-07-09 07:51:51 +00:00
from orchestra.core import validators
from . import settings
def validate_phone(phone):
validators.validate_phone(phone, settings.CONTACTS_DEFAULT_COUNTRY)