Commit d6b2c1a8 authored by Michal Čihař's avatar Michal Čihař

No need to mark safe

parent c758f009
......@@ -47,7 +47,7 @@ def set_lang(sender, **kwargs):
if newprofile:
profile.save
messages.add_message(request, messages.INFO,
mark_safe(gettext('Your profile has been migrated, you might want to adjust preferences.')))
gettext('Your profile has been migrated, you might want to adjust preferences.'))
lang_code = user.get_profile().language
request.session['django_language'] = lang_code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment