django-comments-xtd icon indicating copy to clipboard operation
django-comments-xtd copied to clipboard

XtdComment fields not updating with correct values

Open abiatarfestus opened this issue 4 years ago • 2 comments

Hi Danirus! I'm trying to implement django-comments-xtd on my blog for the first time. Almost everything seems to be well, but I'm experiencing a problem with how comments are associated with one another. I noticed that my comments were not threaded (indented) when rendered on the page, although I was able to post replies. I checked the database and all comments had the following values: 'thread_id': 0, 'level': 0, 'order': 1. I changed the values manually in the database to associate them properly, but although the order in which comments are rendered on the page change accordingly, they are still not indented. Any tips to fix this? I'm using the latest version of Xtdcomments, and MySQL db.

abiatarfestus avatar Jun 26 '21 23:06 abiatarfestus

Hi @abiatarfestus, Check if you are not loading the bootstrap.min.css file in your base.html template. You need this line in your templates.

danirus avatar Jun 28 '21 05:06 danirus

Thank you. I was loading the same file in the project already but version 5. I'm now loading the one you referred to, and it fixed the problem although it has broken/changed the styling in the rest of the project, which was based on v5.

abiatarfestus avatar Jun 28 '21 19:06 abiatarfestus