Add phone types as guessing when phonenumbers is not installed

Closes #14861
This commit is contained in:
Cédric Krier
2026-05-26 09:49:36 +02:00
parent 02031672ca
commit 88d280d500
+2
View File
@@ -238,6 +238,8 @@ class ContactMechanism(
types.append('mobile')
else:
types.extend(_PHONE_TYPES)
else:
types.extend(_PHONE_TYPES)
try:
validate_email(value, check_deliverability=False)
except EmailNotValidError: