Commit 92e28fb9c190542cdded319e79b1d4a762673f97
Merge pull request #79 from stefanw/commentlistnode-queryset
Use queryset as context value of CommentListNode
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -114,7 +114,7 @@ class CommentListNode(BaseCommentNode): | @@ -114,7 +114,7 @@ class CommentListNode(BaseCommentNode): | ||
| 114 | """Insert a list of comments into the context.""" | 114 | """Insert a list of comments into the context.""" |
| 115 | 115 | ||
| 116 | def get_context_value_from_queryset(self, context, qs): | 116 | def get_context_value_from_queryset(self, context, qs): |
| 117 | - return list(qs) | 117 | + return qs |
| 118 | 118 | ||
| 119 | 119 | ||
| 120 | class CommentCountNode(BaseCommentNode): | 120 | class CommentCountNode(BaseCommentNode): |
Please
register
or
login
to post a comment