Fixes: None; Extra: 1) Add `URLField` import in models.py; 2) Adjust `save` method signature in models.py to improve typing consistency; 3) Raise custom `CRMException` for CRM setup errors;
5 lines
160 B
Python
5 lines
160 B
Python
from core.models import CustomerRelationshipManagementProvider
|
|
|
|
|
|
def any_crm_integrations():
|
|
return CustomerRelationshipManagementProvider.objects.exists()
|