diff messages/forms.py @ 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 95b3d59913ad
children 4a4fa174a0ec
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)