이어지는 글 Django | Django ORM QuerySet 사용하기 — HappyTomatoLife (tistory.com) step 1. QuerySet 함수의 SQL문 이해하기 .filter >>> from post.models import Post, Comment, Tag, Clapse >>> queryset = Comment.objects.filter(post=1) >>> str(queryset.query) 'SELECT "post_comment"."id", "post_comment"."post_id", "post_comment"."created_by_id", "post_comment"."created_at", "post_comment"."updated_at", "post_comment"."..