Skip to content
Snippets Groups Projects
Verified Commit e4feb71c authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Revert "feat: exclude fields from timeslot serializer in calendar"

This reverts commit d1681848.
parent 04847d83
No related branches found
No related tags found
1 merge request!52new program endpoint
......@@ -1333,11 +1333,6 @@ class CalendarSchemaSerializer(serializers.Serializer):
"updated_by",
]
class CalendarTimeslotSerializer(serializers.ModelSerializer): #
class Meta:
model = TimeSlot
exclude = ["memo"]
class Wrapper:
def __init__(self, program: list[ProgramEntry]):
self.program = program
......@@ -1408,7 +1403,7 @@ class CalendarSchemaSerializer(serializers.Serializer):
return LinkType.objects.all()
shows = CalendarShowSerializer(many=True)
timeslots = CalendarTimeslotSerializer(many=True)
timeslots = TimeSlotSerializer(many=True)
profiles = ProfileSerializer(many=True)
categories = CategorySerializer(many=True)
funding_categories = FundingCategorySerializer(many=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment