From 5c526e37056aace78960d974c208d19c3703aa48 Mon Sep 17 00:00:00 2001 From: hrcerqueira Date: Wed, 3 Mar 2010 16:26:54 +0000 Subject: Fix in the email url tags. --- forum_modules/localauth/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'forum_modules') diff --git a/forum_modules/localauth/views.py b/forum_modules/localauth/views.py index 1ad9a2d3..db71e902 100755 --- a/forum_modules/localauth/views.py +++ b/forum_modules/localauth/views.py @@ -1,6 +1,7 @@ from django.contrib.auth.models import User from django.shortcuts import render_to_response from django.template import RequestContext +from django.utils.translation import ugettext as _ from forms import ClassicRegisterForm from forum.authentication.forms import SimpleEmailSubscribeForm @@ -19,7 +20,7 @@ def register(request): user_ = User.objects.create_user( username,email,password ) send_validation_email(user_) email_feeds_form.save(user_) - return login_and_forward(request, user_) + return login_and_forward(request, user_, None, _("A validation email has been sent to your email address. ")) else: form = ClassicRegisterForm(initial={'next':'/'}) email_feeds_form = SimpleEmailSubscribeForm() -- cgit v1.2.3-1-g7c22