From 4ba4aa8dc4fdbb5c36726545522623e438105071 Mon Sep 17 00:00:00 2001 From: Zambom Date: Tue, 27 Dec 2016 15:32:09 -0200 Subject: [PATCH] Fixing description presentation in profile --- users/forms.py | 2 +- users/templates/users/profile.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/users/forms.py b/users/forms.py index 1f0fa54..dfb1720 100644 --- a/users/forms.py +++ b/users/forms.py @@ -195,7 +195,7 @@ class PassResetRequest(forms.Form): validate_email( email ) return email except ValidationError: - self._errors['email'] = [_('You must insert an email address')] + self._errors['email'] = [_('You must insert a valid email address')] return ValueError diff --git a/users/templates/users/profile.html b/users/templates/users/profile.html index 21c4521..0d46332 100644 --- a/users/templates/users/profile.html +++ b/users/templates/users/profile.html @@ -59,7 +59,9 @@
- {{ user.description|default:_("Not Informed") }} + {% autoescape off %} + {{ user.description|default:_("Not Informed") }} + {% endautoescape %}
-- libgit2 0.21.2