Commit aa6c4d4c48dfb8f9ff63296599ad66695291f99f
1 parent
d1af2be5
Use queryset as context value of CommentListNode
Before it was a list, but behaviour should not change Fixes #26
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -114,7 +114,7 @@ class CommentListNode(BaseCommentNode): |
| 114 | 114 | """Insert a list of comments into the context.""" |
| 115 | 115 | |
| 116 | 116 | def get_context_value_from_queryset(self, context, qs): |
| 117 | - return list(qs) | |
| 117 | + return qs | |
| 118 | 118 | |
| 119 | 119 | |
| 120 | 120 | class CommentCountNode(BaseCommentNode): | ... | ... |
Please
register
or
login
to post a comment