I have been trying to follow this tutorial - How to provide a delete button for django built in comments framework. Unfortunately it is an old tutorial and some of the code is now out of date.
In it he uses the code from django.contrib.comments.view.moderate import perform_delete
.
I then got an error message ModuleNotFoundError: No module named 'django.contrib.comments'
.
I did pip install django-contrib-comments
.
And I tried the following - from django_comments.view.moderate import perform_delete
.
Does anyone have any other suggestions? '