Questions tagged [django-comments]

Django used to include a simple comments framework. Since Django 1.6, it's been separated to a separate project, use this tag for both. This framework can be used to attach comments to any model, so you can use it for comments on blog entries, photos, book chapters, or anything else.

Django used to include a simple, yet customizable comments framework. Since Django 1.6, it's been separated to a separate project, use this tag for both.

Comments are all "attached" to some parent object. This can be any instance of a Django model.

The primary interaction with the comment system is through a series of template tags that let you embed comments and generate forms for your users to post them.

Reference:

204 questions
1
vote
1 answer

django-fluent-comments model doesn't appear in Wagtail ModelAdmin

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 CommentAdmin(ModelAdmin): model =…
Peter Collingridge
  • 10,849
  • 3
  • 44
  • 61
1
vote
1 answer

Django-Fluent-Comments - NoReverseMatch at /rohit/post/new/

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 form for comments. i got this error: NoReverseMatch…
Rohit Chopra
  • 567
  • 1
  • 8
  • 24
1
vote
3 answers

How to display comments in Django Admin?

I'm using django.contrib.comments for allowing users to comment on a blog. How is it possible to make the comments display on the Django Admin /admin/comments/comment/ and make them clickable for editing? [Here should be an image, but since this is…
Meilo
  • 3,378
  • 3
  • 28
  • 34
1
vote
2 answers

Django threaded comments - one level only

I'm looking at implementing django-threadedcomments and am wondering if it is able to restrict threading to replies made by a moderator/owner, similar to how Yelp handles user reviews and business owner replies. For example the comments would look…
Growth Mindset
  • 1,135
  • 1
  • 12
  • 28
1
vote
2 answers

django: Adding simple captcha to django comments

I am trying to understand how it's possible to use http://code.google.com/p/django-simple-captcha/ with django comments. I have done all as described here: http://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/ So my forms in custom…
Oleg Tarasenko
  • 9,324
  • 18
  • 73
  • 102
1
vote
1 answer

Should I remove 'django.contrib.comments' from my installed apps when I modify it by subclassing?

I'm customizing django comments. According to the docs you'll need to add your customized app to INSTALLED_APPS in settings.py, and set COMMENTS_APP to your app name. INSTALLED_APPS = [ ... 'my_comment_app', ... ] COMMENTS_APP =…
Hobhouse
  • 15,463
  • 12
  • 35
  • 43
1
vote
1 answer

Django notification comment get owner

I am looking at accessing the user who owns the content_type of a posted comment Currently I can access the user who posts, the comment, however I would like to notify the person who owns the item... I tried doing user = comment.content_type.user…
ApPeL
  • 4,801
  • 9
  • 47
  • 84
1
vote
0 answers

Can django-comments handle multiple comment forms on the page?

I have multiple models on a Django-powered webpage that have a django.contrib.comments form rendered for each. On this page, a post from one of these forms to /comments/post/ always results in: Forbidden (403) CSRF verification failed. Request…
jaketrent
  • 1,173
  • 11
  • 25
1
vote
1 answer

Django_comments: What's the proper way to override post_comment()?

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, returns a HttpRedirectResponse to the value of next…
Vicky Leong
  • 1,208
  • 3
  • 12
  • 30
1
vote
1 answer

ImportError: No module named threadedcommentsdjango_comments while use django-threadedcomments app

I am trying to use django-threadedcomments app to allow comments in my website following the configurations mentioned https://pypi.python.org/pypi/django-threadedcomments. my installed apps are INSTALLED_APPS =…
Javed
  • 5,904
  • 4
  • 46
  • 71
1
vote
3 answers

Django comments CSRF error

Getting a csrf error I cant figure out how to fix, i have rest auth working, user is able to update their details like so: but with Django Comments i get this csrf error using the same csrf token Error: I would like to get rid of this error on…
1
vote
0 answers

How to get logged in user's info automatically in django comment app?

I'm using Django 1.8 to create an application and I'm using django_comments application to handle commenting system. I want only authenticated users to be able to write a new comment. So I've excluded name, email and url fields in forms.py since I…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
1
vote
1 answer

Not able to setup comments functionality in Django 1.8

I am a novice in django. I am using Django 1.8.3 & working on the functionality to add comment sections into blogs. But as there are lots of changes have taken place in Django's new releases (all the tutorials on net are considering Django 1.6 or…
Ankur
  • 197
  • 2
  • 17
1
vote
1 answer

How to set maximum thread level in django-threadedcomments?

Is it possible to configure maximum comment thread depth? If not then how to set this limit in the code?
asliwinski
  • 1,662
  • 3
  • 21
  • 38
1
vote
3 answers

Better Alternative to django.contrib.comments

I am having a nightmare working with django default commenting app. I am trying to customize it and add it to div tags to each field and have not been able to find out how to do it so far…
Uma
  • 689
  • 2
  • 12
  • 35