We need to create reply models for each of the posting comment types. They will be identical to comments, but instead of having a foreign key field that points to a posting, it will point to a comment. We also need endpoints for these replies.
Sub-tasks:
Create reply models (will inherit the generic comment model)
Create API views for seeing reply objects.
Update the generic comment serializer to show the number of replies
Add tests for the endpoints
Update the generic comment serializer to show the number of replies
Note:
We can just use the same comment serializers for the reply objects.
We need to create reply models for each of the posting comment types. They will be identical to comments, but instead of having a foreign key field that points to a posting, it will point to a comment. We also need endpoints for these replies.
Sub-tasks:
Note: