honzakral / django-threadedcomments

django-threadedcomments is a simple yet flexible threaded commenting system for Django.
BSD 3-Clause "New" or "Revised" License
622 stars 165 forks source link

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

Closed ShinJJang closed 8 years ago

ShinJJang commented 9 years ago

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()
            ....
jimlyndon commented 8 years ago

Any news on getting this merged?