We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 240a15d commit 843b537Copy full SHA for 843b537
app/cms/serializers.py
@@ -16,7 +16,7 @@ class Meta:
16
17
18
class PageSerializer(serializers.ModelSerializer):
19
- sections = SectionSerializer(many=True, read_only=True)
+ sections = SectionSerializer(many=True, read_only=True, source="active_sections")
20
21
class Meta:
22
model = Page
0 commit comments