summaryrefslogtreecommitdiffstats
path: root/forum_modules
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-03-03 16:26:54 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-03-03 16:26:54 +0000
commit5c526e37056aace78960d974c208d19c3703aa48 (patch)
treef72d21d4eb7c4caa6b64c1c3cbf50efb5f5e93f9 /forum_modules
parent55aa657509c1da9cfc57f5fe32929a3ef7582dd4 (diff)
downloadaskbot-5c526e37056aace78960d974c208d19c3703aa48.tar.gz
askbot-5c526e37056aace78960d974c208d19c3703aa48.tar.bz2
askbot-5c526e37056aace78960d974c208d19c3703aa48.zip
Fix in the email url tags.
Diffstat (limited to 'forum_modules')
-rwxr-xr-xforum_modules/localauth/views.py3
1 files changed, 2 insertions, 1 deletions
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()