views.py
21.8 KB
-
Default to not requesting responses when grabbing a single thread. · 26891bc0
We're often grabbing the metadata of a specific thread to then be able to perform other operations, but we never need the actual responses or comments of a thread unless we're displaying it in the normal forum view. This change sets a default of with_responses=False, which instructs the comment service to not send back the responses/comments for the given thread. We only ask for responses in the case of rendering a single thread or inline discussion.
Toby Lawrence committed