Closed JanMalte closed 2 years ago
For any reasons the content_object is commented out in the followup notification email context.
content_object
message_context = {'user_name': name, 'comment': comment, # 'content_object': target, 'mute_url': mute_url, 'site': comment.site}
https://github.com/danirus/django-comments-xtd/blob/master/django_comments_xtd/views.py#L287:L291
This leads to an empty field in the email and an incomplete comment URL
Post: {{ content_object.title }} URL: http://{{ site.domain }}{{ content_object.get_absolute_url }}
https://github.com/danirus/django-comments-xtd/blob/master/django_comments_xtd/templates/django_comments_xtd/email_followup_comment.txt#L6:L7
For any reasons the
content_object
is commented out in the followup notification email context.https://github.com/danirus/django-comments-xtd/blob/master/django_comments_xtd/views.py#L287:L291
This leads to an empty field in the email and an incomplete comment URL
https://github.com/danirus/django-comments-xtd/blob/master/django_comments_xtd/templates/django_comments_xtd/email_followup_comment.txt#L6:L7