Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
53 views

i am developing a rest-based django project. i want to implement a commenting system in my project; but it has to be decoupled from the other apps. therefore, deepseek suggested to use drf-comments in ...
husein.azimi's user avatar
0 votes
0 answers
59 views

I have been trying to create a comment section for a blog site. Comments should only be made by the site's users. I am able to make comments and display them in the comment section from the admin ...
YoYo's user avatar
  • 1
0 votes
2 answers
102 views

I am following the official tutorial for wagtail-localize, and I am at the step to set up a second locale. When I hit save, I get: DoesNotExist at /admin/locales/new/ XtdComment matching query does ...
autosnake's user avatar
1 vote
1 answer
58 views

I dont know how to link comments to specific product(object). Maybe there is something to do with slugs. P.S. All the comments can be successfully uploaded to the database, but the problem is only ...
Shaxriyor's user avatar
0 votes
2 answers
504 views

I'm a newcomer and I have this problem that I can't send this comment to database it just refreshes the page and nothing happens. def blog_detail(request , id): post = Post.objects.get(pk = id , ...
Lil Gun's user avatar
  • 31
0 votes
1 answer
132 views

I am using django-components. Common parts are inherited from parent classes and child classes are registered as components. It is written as follows components.py from django_components import ...
y.dai's user avatar
  • 35
-1 votes
1 answer
48 views

I'm getting an error over and over again when I'm displaying comments for a program. Please what is the problem I made here? I made many attempts using get , filter but the error remains the same. ...
Tarek Hussien's user avatar
0 votes
1 answer
190 views

I followed the tutorial on https://django-comments-xtd.readthedocs.io, everything seems to work find, the forms and the comments are working, but on the website they are not displayed properly. ...
Arnold Schwartzkopf's user avatar
1 vote
1 answer
345 views

I'm working on this project but I got the following error comm = doctor_detail.comments.filter(active=True) AttributeError: 'Doctor' object has no attribute 'comments' however I think that everything ...
Rachid Mayene's user avatar
0 votes
0 answers
48 views

I've tried to implement the comments within the html page after creating them in my models and I have migrated them but they still wont appear within the page although when I add a comment from the ...
Andrew Smith 's user avatar
0 votes
1 answer
44 views

I have a Django+Wagtail blog site integrated with django_comments_xtd as below: class PostDetail(Page): ... class Comment(XtdComment): page = models.ForeignKey('PostDetail', on_delete=models....
Yan Tian's user avatar
  • 397
0 votes
1 answer
57 views

I am using Wagtail + Django_comments_xtd + Django. My_Django_App/models.py from wagtail.core.models import Page class PostPage(Page): ... from django_comments_xtd.models import XtdComment class ...
Yan Tian's user avatar
  • 397
2 votes
1 answer
60 views

I want to find out the key differences when assembling comment form between posting a new comment and replying to existing comments and how are they implemented in source code of django_comments_xtd? ...
Yan Tian's user avatar
  • 397
0 votes
1 answer
66 views

According to Django official doc, it reads, The template system works in a two-step process: compiling (parsing template texts to Nodes) and rendering (render Nodes to HTML file). Let us take django-...
Yan Tian's user avatar
  • 397
0 votes
1 answer
46 views

In Django's own comment framework, django-contrib-comments, it has below class defined: In models.py, class Comment (CommentAbstractModel): is defined. In forms.py, class CommentForm (...
Yan Tian's user avatar
  • 397
0 votes
1 answer
527 views

I was trying to use tailwindcss plugins tailwindcss-forms to style comment forms produced by django comments framework. tailwindcs-forms requires tailwind styling class to be applied on <input type=...
Yan Tian's user avatar
  • 397
0 votes
1 answer
138 views

Added the ability to add comments, made it so that only authorized users can add comments, but for some reason this does not work, please fix it. I also added tag strong, but for some reason it does ...
Squidward's user avatar
1 vote
0 answers
35 views

I am making comments on django on this video https://www.youtube.com/watch?v=bmFkND-scpY when the author in the middle of the video showed what he had done, he showed this (this is how it should be) ...
PyDjango's user avatar
0 votes
1 answer
122 views

Based on this tutorial https://www.youtube.com/watch?v=An4hW4TjKhE&ab_channel=AbhishekVerma I'm trying to add the ability to add comments under posts, add a comment in the admin panel, everything ...
Squidward's user avatar
0 votes
2 answers
1k views

I am trying to add comments to posts on my blog on this guide https://pypi.org/project/django-comments-dab/ but when doing migrations I get this error, thanks for any help
Squidward's user avatar
0 votes
1 answer
463 views

I need a comment system so can reply a comment to any comment I know how to write models and views and my only problem is showing them in the template For example, maybe a group of comments are like ...
Amir Khorasani's user avatar
2 votes
1 answer
531 views

I'm setting up comments in Wagtail using django-comments-xtd and one thing I'm having trouble figuring out is why my comment permalinks keep going to https://example.com/news/bloggy-test-post/#c1 ...
Meagen Voss's user avatar
0 votes
1 answer
122 views

acordign to the documentation for django-XtdComments in order to have my custom comment model instead of XtdComment the setting file should be like this: COMMENTS_APP = "django_comments_xtd" ...
saeed albooyeh's user avatar
0 votes
0 answers
29 views

new to the Django framework and a little rusty with coding. I am currently trying to build a tech blog from the ground up and have been using Django Central tutorials as a guide. Currently, I am stuck ...
winegg's user avatar
  • 1
0 votes
1 answer
99 views

I am using the comment library. It is built on top of django-contrib-comments The question is, how can you make sure that when you delete a user, all comments associated with him would be deleted? I ...
new_progger_python's user avatar
0 votes
1 answer
48 views

I am trying to add a comment section to add a comment section to my blog detail using django but when i run my server i get no error in the development server and the comments are not being displayed. ...
Bello Victor's user avatar
0 votes
1 answer
738 views

I'm creating a blog and right now I'm working in the comments section, I'm working in the edit comments, everything works right, but the problem is the following, whenever I update the view I want to ...
Sebastian Nin's user avatar
0 votes
1 answer
118 views

Django==3.0.8 django-comments-xtd==2.6.2 views.py @csrf_protect @login_required def like(request, comment_id, next=None): """ Like a comment. Confirmation on GET, action on POST....
Trts's user avatar
  • 1,071
0 votes
1 answer
38 views

Django 3.0.8 django-comments-xtd==2.6.2 I'm studyint this section of the tutorial: https://django-comments-xtd.readthedocs.io/en/latest/tutorial.html#removal-suggestion post_detail.html {% extends &...
Trts's user avatar
  • 1,071
0 votes
1 answer
83 views

I started learning Django about a month ago and just finished Django for Beginners by William Vincent. The book ends with Ch.15: Comments and shows how the admin can add comments to posts. Q: Can ...
codingunicorn's user avatar
0 votes
1 answer
173 views

I tried to create a commenting function for my Django blog application and comments as such work fine but I can only add them through my admin page. However, I would like users to be able to add ...
0xDr0id's user avatar
  • 329
1 vote
1 answer
1k views

In the profile page, I want to display posts of a user. Each post might have several comments, I don't want to display all the comments to the post instead I want to display only few comments and add ...
sreekanthkura7's user avatar
0 votes
1 answer
195 views

System info: 64-bit OS-X, Python 3.7 I am converting a Django website from Python 2 to Python 3. To do this, I ran 2to3 on the whole project. I then installed all of the required modules in ...
woefipuasd's user avatar
0 votes
1 answer
1k views

I need help putting the commenting form for users on the same page as the post, currently i have the commenting form on another page but i'd really like the users to be able to post comments as soon ...
Dafom Chollom's user avatar
0 votes
0 answers
142 views

I am making a blog but I am stuck on a comment replies function. I don't know how to make a Reply function from which users can reply to the comments. I tried a lot but it's still displaying those ...
Ubaid Parvez's user avatar
1 vote
0 answers
62 views

I want to create a comment part. I did but there is an error in my detail page. The error is *NoReverseMatch at /post/123/ Reverse for 'blog_comment' with arguments '('',)' not found. 1 pattern(s) ...
Jode's user avatar
  • 111
0 votes
1 answer
659 views

I am new to both Django and Python and am trying to create my blog.My setup consists of Django 2.0.7 and Python 3.6.5 running on windows 10.I have configured only one app named "personal".In my case ...
Amit's user avatar
  • 1
-1 votes
1 answer
281 views

i am newer and study django.when i install django_comments , i need add to add a new url and view for django_comments, but it don't work. comments folder structure: __init__.py __pycache__/ forms....
jett chen's user avatar
  • 1,193
1 vote
1 answer
261 views

I'm using Ajax Comments System to render comments and the form and I have a custom user profile that include avatar field class UserProfile(models.Model): user = models.OneToOneField(User, ...
a7me3D's user avatar
  • 49
1 vote
3 answers
675 views

i want to implement something like fb does like displaying all the respective comments below their respective posts in home page model.py from django.db import models from django.contrib.auth.models ...
Prince Nihith's user avatar
3 votes
2 answers
1k views

My site is actually a wagtail site, although I'm not sure if that makes a difference. It's a simple blog application with a blog page to view posts and a page to show each post. I was following the ...
Jake Rankin's user avatar
2 votes
3 answers
678 views

I have installed django-comments-xtd following the quick start guide in the documentation here. When I go to access the /comments URL, I only get a 404 error, and the message 'Raised by: wagtail....
Jake Rankin's user avatar
1 vote
0 answers
1k views

I am following this example on how to set threaded comments with django_comments and django-mptt. I have followed most of it and the posted comments are working in admin but I am getting this error '...
jsonknightlee's user avatar
1 vote
1 answer
206 views

I have a Wagtail project that uses django-fluent-comments and I would like to be able moderate the comments in the admin pages. Based on this tutorial I added this to my wagtail_hooks.py file: class ...
Peter Collingridge's user avatar
1 vote
1 answer
288 views

i tried every thing but i donot know how to remove this error. need help guys. i am using django-fluent-comments for comments and when i put this line {% render_comment_form for object %} to get ...
Rohit Chopra's user avatar
0 votes
1 answer
66 views

My task is to create comment system in django project. I am tring to use django-comments-xtd app. I successfully added this app to my project and use {% render_comment_form for object %} in template. ...
Nurzhan Nogerbek's user avatar
0 votes
1 answer
1k views

I try to use django-threadedcomments But when I add into template {% load threadedcomments_tags %} I get error on this lines {% render_comment_list for publication %} {% render_comment_form for ...
Sergey Tytarenko's user avatar
0 votes
1 answer
247 views

I am trying to add a new field in django_comment model. According to the documentation, most custom comment models will subclass the CommentAbstractModel model: from django.db import models from ...
Mark Waugh's user avatar
0 votes
1 answer
384 views

The version of django is 1.10 and Python version is 2.7.6 .After I have migrate and create table,it showed that I have migrated the django_comments.When I get into my admin,I can't find the ...
huangweiwei's user avatar
1 vote
1 answer
115 views

I'm trying to customize django_comments app (github repo, docs). The default get_form_target() returns django_comments.views.post_comment, which is a function-based view. post_comment(), in turn, ...
Vicky Leong's user avatar
  • 1,268

1
2 3 4 5