refactor(notifications): align app structure with backend conventions

This commit is contained in:
2026-04-25 12:00:05 +03:30
parent 48bf4f5c19
commit 5f9d413a57
14 changed files with 35 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
from rest_framework import serializers
from apps.notifications.membership_events import notify_workspace_membership_added
from apps.notifications.services import notify_workspace_membership_added
from apps.users.models import User
from core.serializers.base import BaseModelSerializer
from apps.workspaces.models import Workspace, WorkspaceMembership

View File

@@ -7,7 +7,7 @@ from django_filters.rest_framework import DjangoFilterBackend
from rest_framework.viewsets import ModelViewSet
from rest_framework.permissions import IsAuthenticated
from apps.notifications.membership_events import (
from apps.notifications.services import (
notify_workspace_membership_added,
notify_workspace_membership_deactivated,
notify_workspace_membership_removed,