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?
I am using the delete() function from django.contrib.comments.views.moderation module. The staff-member is allowed to
Share
If you want to mark the comment as deleted, just as
django.contrib.comments.views.moderation.delete()does: