Commit aa6c4d4c48dfb8f9ff63296599ad66695291f99f

Authored by Stefan Wehrmeyer
1 parent d1af2be5

Use queryset as context value of CommentListNode

Before it was a list, but behaviour should not change
Fixes #26
@@ -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