django-orchestra-test/orchestra/contrib/contacts/validators.py
2015-04-08 14:41:09 +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)