Ticket #14646: 14646_comment_notification_email_template_fix.2.diff
File 14646_comment_notification_email_template_fix.2.diff, 1.5 KB (added by , 14 years ago) |
---|
-
django/contrib/comments/templates/comments/comment_notification_email.txt
1 New comment on {{ content_object }} submitted on {{ comment.submit_date }}. 2 3 Commenter's name: {{ comment.name }} 4 Commenter's email: {{ comment.email }} 5 Commenter's URL: {{ comment.user_url }} 6 7 ------------------------------------------ 8 {{ comment.comment }} -
docs/ref/contrib/comments/moderation.txt
110 110 111 111 If ``True``, any new comment on an object of this model which 112 112 survives moderation (i.e., is not deleted) will generate an 113 email to site staff. Default value is ``False``. 113 email to site staff. Default value is ``False``. The contents of the 114 notification email are determined by the template 115 ``comments/comment_notification_email.txt``, which receives a context 116 containing the ``comment`` object and the ``content_object`` with which 117 the comment is associated. This template may be overridden and 118 customized to suit individual requirements. 114 119 115 120 .. attribute:: enable_field 116 121