Skip to content

Instantly share code, notes, and snippets.

@andymckay
Created November 4, 2011 20:16
Show Gist options
  • Save andymckay/1340375 to your computer and use it in GitHub Desktop.
Save andymckay/1340375 to your computer and use it in GitHub Desktop.
diff --git a/apps/users/views.py b/apps/users/views.py
index 68dbea6..d84f621 100644
--- a/apps/users/views.py
+++ b/apps/users/views.py
@@ -369,7 +369,7 @@ def _login(request, template=None, data=None, dont_redirect=False):
'to your email address mentioned above.') % url
messages.error(request, _('Activation Email Sent'), msg1)
messages.info(request, _('Having Trouble?'), msg2,
- title_safe=True)
+ title_safe=True, message_safe=True)
data.update({'form': partial_form()})
return jingo.render(request, template, data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment