django / django-contrib-comments

BSD 3-Clause "New" or "Revised" License
614 stars 196 forks source link

Comment notification email template does not exist error #172

Open poolpoolpoolpool opened 3 years ago

poolpoolpoolpool commented 3 years ago

I turned on comment notification for moderation on a model and got the following error:

django.template.exceptions.TemplateDoesNotExist: comments/comment_notification_email.txt

So I made my own and added this:

{{comment}}

Hoping that I could read the actual comment in the email itself, but it only shows:

username: the first like thirty chars or someth... ##full comment hidden by ellipsis

I tried to find the right attribute to add so I could see the full comment, but I got lost trying to follow around the complicated meta model and gave up. In any case, this should file should be in the template folder by default and it should send the commenters username and the full comment itself in the email to the mods.