From: Christopher Allan Webber Date: Fri, 29 Jul 2011 13:44:47 +0000 (-0500) Subject: Remove this superfluous "registration successful" message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dce5c9cb9b28154edef85f5c9031f6a67be503ea;p=mediagoblin.git Remove this superfluous "registration successful" message --- diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py index e0d9c8f1..fb5db870 100644 --- a/mediagoblin/auth/views.py +++ b/mediagoblin/auth/views.py @@ -69,12 +69,8 @@ def register(request): # send verification email send_verification_email(user, request) - # give the user a message and redirect - messages.add_message( - request, - messages.INFO, - ('Registration successful! ' - 'You should get a registration email soon.')) + # redirect the user to their homepage... there will be a + # message waiting for them to verify their email return redirect( request, 'mediagoblin.user_pages.user_home', user=user['username'])