Remove this superfluous "registration successful" message

This commit is contained in:
Christopher Allan Webber 2011-07-29 08:44:47 -05:00
parent f73f4c4b84
commit dce5c9cb9b

View File

@ -69,12 +69,8 @@ def register(request):
# send verification email # send verification email
send_verification_email(user, request) send_verification_email(user, request)
# give the user a message and redirect # redirect the user to their homepage... there will be a
messages.add_message( # message waiting for them to verify their email
request,
messages.INFO,
('Registration successful! '
'You should get a registration email soon.'))
return redirect( return redirect(
request, 'mediagoblin.user_pages.user_home', request, 'mediagoblin.user_pages.user_home',
user=user['username']) user=user['username'])