diff --git a/api/users/models.py b/api/users/models.py index d9491f582ba0..e5565cb2d7f9 100644 --- a/api/users/models.py +++ b/api/users/models.py @@ -10,8 +10,9 @@ from django.db import models from django.db.models import Count, QuerySet from django.utils import timezone -from django_lifecycle import AFTER_CREATE, LifecycleModel, hook, AFTER_SAVE +from django_lifecycle import AFTER_CREATE, AFTER_SAVE, LifecycleModel, hook from django_lifecycle.conditions import WhenFieldHasChanged + from integrations.lead_tracking.hubspot.tasks import ( track_hubspot_lead_without_organisation, )