view gpp/templates/news/send_story_email.txt @ 370:e9a066db3f54

Adding some try/except around some key points in the code to protect against some IntegrityErrors. We log when these happens but otherwise keep going. Tickets: #160 and #169.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Mar 2011 00:40:50 +0000
parents dbd703f7d63a
children
line wrap: on
line source
Dear {{ to_name }},

Your friend, {{ sender_name }}, wanted to send you a link to an 
interesting story found on {{ site_name }}.

{{ story_title|safe }}
http://{{ site_url }}{{ story_link }}

Thanks!
http://{{ site_url}}