# HG changeset patch # User Brian Neal # Date 1305168973 0 # Node ID ffdeb403ad21d6e2966217d6ac02c3dd713b3418 # Parent 6663175b659eb3417754102cb8cb2806c2ea4d0c For #211; update the URL in the private messages notification email. Messages no longer have a get_absolute_url() method. Just send people to the main messages index. diff -r 6663175b659e -r ffdeb403ad21 gpp/templates/messages/notification_email.txt --- a/gpp/templates/messages/notification_email.txt Fri May 06 02:03:39 2011 +0000 +++ b/gpp/templates/messages/notification_email.txt Thu May 12 02:56:13 2011 +0000 @@ -1,3 +1,4 @@ +{% load url from future %} Dear {{ msg.receiver.username }}, You have just received a new private message at {{ site.name }}. The message @@ -12,7 +13,7 @@ You may reply to this message by visiting the following link: -http://{{ site.domain }}{{ msg.get_absolute_url }} +http://{{ site.domain }}{% url 'messages-index' %} Thanks,