We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d79984c commit 62d463bCopy full SHA for 62d463b
1 file changed
backend/wrapped/serializers.py
@@ -32,7 +32,7 @@ class PageSerializer(serializers.ModelSerializer):
32
33
class Meta:
34
model = Page
35
- fields = ["name", "template_path", "combined_stats", "duration"]
+ fields = ["id", "name", "template_path", "combined_stats", "duration"]
36
37
def get_combined_stats(self, obj):
38
if not (semester := self.context.get("semester", obj)):
0 commit comments