Commit 92e28fb9c190542cdded319e79b1d4a762673f97

Authored by Claude Paroz
2 parents 61c2b19e aa6c4d4c

Merge pull request #79 from stefanw/commentlistnode-queryset

Use queryset as context value of CommentListNode
@@ -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