Skip to content

Commit e6b0aba

Browse files
committed
Update: 시간표 기능을 위한 조건 추가
1 parent 15e67da commit e6b0aba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyconweb2022/program/serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Meta:
1919
"slide_url",
2020
"video_open_at",
2121
"track_num",
22+
"introduction",
2223
]
2324

2425

pyconweb2022/program/viewsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class ProposalViewSet(ReadOnlyModelViewSet):
10-
queryset = Proposal.objects.filter(accepted=True)
10+
queryset = Proposal.objects.filter(accepted=True).order_by("track_num").order_by("video_open_at")
1111
serializer_class = ProposalSerializer
1212
permission_classes = [AllowAny]
1313

0 commit comments

Comments
 (0)