I'm making a News App API and I want to create an APIView with comments for a speicific Post that also lets users posting comments for the specific post.

These are my models (simplified):

Post:

```
class Post(models.Model):
    title = models.CharField(max_length=250)
    text = models.TextField()

```

Comment:

```
class Comment(models.Model):
    post = models.ForeignKey(Post, on_delete=models.CASCADE, related_name='comments')
    author = models.CharField(max_length=200)
    text = models.TextField()

```

And view:

```
class CommentList(generics.ListCreateAPIView):
    queryset = Comment.objects.filter(post=???)  
    serializer_class = CommentSerializer

```

EDIT: I would also like my url path to look like this (or similar):

```
urlpatterns = [
...
    path('posts/<int:pk>/comments/', CommentList.as_view())
] 

```

My questions:

1. How do I create a list of comments for an instance of Post?
2. Is it the correct approach or should I try something else?