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

8 lines
163 B
Python
Raw Normal View History

2015-04-08 14:41:09 +00:00
from orchestra.core import validators
from . import settings
def validate_phone(phone):
validators.validate_phone(phone, settings.CONTACTS_DEFAULT_COUNTRY)