Allowing users to delete their own comments in Django

Posted by RaDeuX on Stack Overflow See other posts from Stack Overflow or by RaDeuX
Published on 2010-02-22T23:51:30Z Indexed on 2010/03/20 8:11 UTC
Read the original article Hit count: 335

Filed under:
|
|

I am using the delete() function from django.contrib.comments.views.moderation module. The staff-member is allowed to delete ANY comment posts, which is completely fine. However, I would also like to give registered non-staff members the privilege to delete their OWN comment posts, and their OWN only. How can I accomplish this?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-comments