From 262ed82e9e808f29c0fc77b9a0a44fd613ee377a Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Tue, 7 Nov 2023 13:39:08 -0500 Subject: [PATCH] fix: Fixed imports --- terraso_backend/apps/core/models/landscapes.py | 2 +- terraso_backend/apps/core/models/users.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"