fix: file structuring (#2797)

* fix: file structure changes

* fix: pages update

* fix: license imports changed
This commit is contained in:
Bavisetti Narayan 2023-11-20 11:59:20 +05:30 committed by sriram veeraghanta
parent 728213e3fd
commit ced5bfd930
113 changed files with 2306 additions and 1261 deletions

View file

@ -0,0 +1,12 @@
# Module imports
from .base import BaseSerializer
from .user import UserLiteSerializer
from plane.db.models import Notification
class NotificationSerializer(BaseSerializer):
triggered_by_details = UserLiteSerializer(read_only=True, source="triggered_by")
class Meta:
model = Notification
fields = "__all__"