honzakral/django-threadedcomments

ProgrammingError at / relation "threadedcomments_comment" does not exist

Opened this issue · 1 comments

context[self.as_varname] = self.get_context_value_from_queryset(context, qs) 

context: [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <QuerySet [<Set: Wed, 24 Apr 2019>, <Set: Wed, 24 Apr 2019>, <Set: Tue, 23 Apr 2019>, <Set: Mon, 22 Apr 2019>]>, 'set_list': <QuerySet [<Set: Wed, 24 Apr 2019>, <Set: Wed, 24 Apr 2019>, <Set: Tue, 23 Apr 2019>, <Set: Mon, 22 Apr 2019>]>, 'view': <curate.views.SetListView object at 0x000001D4CA9EB518>}]

qs Error in formatting: ProgrammingError: relation "threadedcomments_comment" does not exist
LINE 1: ...user"."is_active", "auth_user"."date_joined" FROM "threadedc...

self <django_comments.templatetags.comments.CommentCountNode object at 0x000001D4CA9F22E8>

I actually have it working now. But I don't quite know how it renders - the output on the template is not actually threaded. All comments appear to be in the original UL, no matter if it was a reply to a reply... I've used the HTML in your template here:

https://github.com/HonzaKral/django-threadedcomments/blob/master/examples/core/templates/core/message_inline_sample.html

image