diff --git a/terraso_backend/apps/core/models/landscapes.py b/terraso_backend/apps/core/models/landscapes.py index d9c459811..1bb5d266b 100644 --- a/terraso_backend/apps/core/models/landscapes.py +++ b/terraso_backend/apps/core/models/landscapes.py @@ -24,9 +24,9 @@ calculate_geojson_centroid, calculate_geojson_feature_area, ) +from apps.core.landscape_collaboration_roles import ROLE_MANAGER from apps.core.models.taxonomy_terms import TaxonomyTerm -from ..landscape_collaboration_roles import ROLE_MANAGER from .commons import BaseModel, SlugModel, validate_name from .groups import Group from .shared_resources import SharedResource diff --git a/terraso_backend/apps/core/models/users.py b/terraso_backend/apps/core/models/users.py index b782467b6..960605e84 100644 --- a/terraso_backend/apps/core/models/users.py +++ b/terraso_backend/apps/core/models/users.py @@ -21,7 +21,7 @@ from django.utils.translation import gettext_lazy as _ from safedelete.models import SOFT_DELETE_CASCADE, SafeDeleteManager, SafeDeleteModel -from .. import landscape_collaboration_roles +from apps.core import landscape_collaboration_roles NOTIFICATION_KEY_GROUP = "group_notifications" NOTIFICATION_KEY_STORY_MAP = "story_map_notifications"