honzakral/django-threadedcomments

'super' object has no attribute 'get_query_set' : \threadedcomments_tags.py in get_query_set, line 68

Closed this issue · 1 comments

Hello

In Django 1.7, Python 3.4.2, Windows 7,

'super' object has no attribute 'get_query_set' : \threadedcomments_tags.py in get_query_set, line 68

#  For older Django (1.5) versions:
    def get_query_set(self, context):
        qs = super(BaseThreadedCommentNode, self).get_query_set(context)  # get_query_set not defined
        if self.flat:

I change "get_query_set" to "get_queryset", then work it.
But this way can't cover lower version.
In same file line 251, not separated by version.

def render(self, context):
        ctype, object_pk = self.get_target_ctype_pk(context)
        .....
            qs = self.get_query_set(context)         # maybe, here is problem
            context.push()
            ....

Any news on getting this merged?