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
0
votes
1 answer

Django comments checking input for format?

Is there any way to check if the format of an input in Django comments is correct? Specifically, I want to check that the email entered has the form @thisuniversity.edu? I want to make sure that all the comments come from people in the university,…
user11235
  • 147
  • 1
  • 3
  • 10
0
votes
1 answer

Django 1.5. Users attributes in comments framework

I use MyUser model in Django 1.5 (e-mail as login): class MyUserManager(BaseUserManager): def create_user(self, email, password=None): """ Creates and saves a User with the given email, date of birth and password. """ if not…
Wolter
  • 1,053
  • 3
  • 11
  • 17
0
votes
1 answer

How to use Django build-in comment framework on any template

I just begin to study Django build-in comments function. at first I think the comment template should work well on any page just with get_comment_form or render_comment_form .but now it really annoying when i add these code to a ordinary page. It…
ryu
  • 651
  • 9
  • 23
0
votes
1 answer

Customizing Django.contrib.comments honeypot

I'm using Django's standard comment system and I would like to extend its anti-spam honeypot capability. I thought of changing the default "name" and "id" of the field to something more alluring for spam-bots such as "website". I checked the html…
Protagonist
  • 492
  • 1
  • 6
  • 17
0
votes
2 answers

custom django comment form

I use the default comment form in django as the document.But the tages like "name","url" aren`t suit my need.I need them become chinese.How can I change these tages and How to custom form with the comment framework?Please help me.Thanks a lot. And…
0
votes
1 answer

Reverse pagination order in Django Endless Pagination

The default pagination for Django Endless Pagination(which is working perfect for me) shows the oldest object first and then pagniates through newer ones i.e, the last page contains the newest object. I am trying to use this to paginate comments and…
0
votes
1 answer

Is it possible to build an activity feed using Django commenting?

Dear stackoverflowers, Is it possible to build an activity feed using Django commenting? For example, In the 'home' view of my professional photography iOS app, I would like to fill it with actions via JSON such as: User1 commented on User2's…
deadlock
  • 7,048
  • 14
  • 67
  • 115
0
votes
1 answer

enforce security (permissions) on django comments

I'm using the standard django.contrib.comments app. However, for my app i need to enforce more granular permissions on posting and viewing comments. For instance, i only want certain people to view comments posted against a given object, and…
IMFletcher
  • 656
  • 9
  • 19
0
votes
2 answers

Editing a Django Comment

I'm attempting to edit an existing comment (i.e. replace old comment with a new one). My comments app is django.contrib.comments. new_comment = form.cleaned_data['comment'] #all of the comments for this particular review comments =…
Himerzi
  • 899
  • 1
  • 8
  • 16
0
votes
1 answer

How do I override django.contrib.comments field widgets?

I'm not looking to add inline styles to the comment field in my comment form. I'm looking for a way to add the placeholder attribute to my field. What's the proper way to do this? I was searching for a way to add/modify the widgets for the…
wulymammoth
  • 8,121
  • 4
  • 19
  • 19
0
votes
2 answers

Write comments in Django

These days I started working with Django, it's great! I wonder if there is a "standard" to write comments in Django, for example, like codeigniter: http://codeigniter.com/user_guide/general/styleguide.html#commenting... Thanks!
Mark Design
  • 664
  • 1
  • 6
  • 24
0
votes
1 answer

How to authenticate user in Django Comment framework?

I'm using Django's comment framework as a part of my project. With default settings, anonymous users can make comments at will. I want to change this feature such that only authenticated users can post comments. Moreover, I want this authenticated…
goelv
  • 2,774
  • 11
  • 32
  • 40
0
votes
1 answer

Is it possible to embed the built in comment form inside another form?

I have a form to edit information about something as it may change. What I would like to do is to use Django comments to require that when editing the information, the user doing the editing provide a comment stating what they did, ex "fixed typo in…
cjohnston
  • 135
  • 6
0
votes
2 answers

Extending Django commenting system

This is how I want commenting to work on my site: if the user is logged in, they are presented with an "add comments" box which has a text field for the comment text, and a checkbox that will post the comment anonymously if checked if the user is…
priestc
  • 33,060
  • 24
  • 83
  • 117
0
votes
1 answer

How to use django-comments form with javascript?

I have a note like system see image here: http://www.uploadscreenshot.com/image/1091218/5818195 and when clicked on note you can see the title, the message and comments. I send them trough js file and set them in the view. My question is now can I…
tamara
  • 120
  • 1
  • 12
1 2 3
13
14