Skip to content

Commit

Permalink
๐ŸŽจ ํ•„ํ„ฐ ์‚ญ์ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
IAMBH committed Oct 12, 2023
1 parent 9144bc0 commit 3cbfa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def censor_content(content):
class ChatViewSet(viewsets.GenericViewSet, mixins.RetrieveModelMixin, mixins.ListModelMixin, mixins.CreateModelMixin):
# queryset ๊ฐ€์ ธ์˜ค๋Š” ํ•จ์ˆ˜ ์˜ค๋ฒ„๋ผ์ด๋”ฉ (์ตœ์‹ ์ˆœ์œผ๋กœ ์ •๋ ฌ)
def get_queryset(self):
queryset = Chat.objects.filter(id__lte=719, id__gte=925).order_by('-created_at')
queryset = Chat.objects.order_by('-created_at')
return queryset
serializer_class = ChatSerializer
pagination_class = ChatPagination
Expand Down

0 comments on commit 3cbfa6b

Please sign in to comment.