changeset 808:0f0ba45704b7

Private message refactor: fix reverse() for notification email.
author Brian Neal <bgneal@gmail.com>
date Mon, 01 Sep 2014 16:38:06 -0500
parents 22cc8c1aec03
children ab3deff7672a
files messages/forms.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/messages/forms.py	Mon Sep 01 16:22:13 2014 -0500
+++ b/messages/forms.py	Mon Sep 01 16:38:06 2014 -0500
@@ -134,7 +134,7 @@
     email_body = render_to_string('messages/notification_email.txt', {
                 'site': site,
                 'msg': new_msg,
-                'options_url': reverse('messages-options_tab'),
+                'options_url': reverse('messages-options'),
             })
 
     subject = 'New private message for %s at %s' % (new_msg.receiver.username, site.name)