mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
15 lines
287 B
Python
15 lines
287 B
Python
# Module imports
|
|
from .base import BaseSerializer
|
|
|
|
from plane.db.models import Shortcut
|
|
|
|
|
|
class ShortCutSerializer(BaseSerializer):
|
|
class Meta:
|
|
model = Shortcut
|
|
fields = "__all__"
|
|
read_only_fields = [
|
|
"workspace",
|
|
"project",
|
|
]
|