Reputation: 13
I'm trying to make a very basic sign up form on Google App Engine that redirects and writes 'Welcome, (name_of_user)' when all input is valid. It seems I'm having a problem with the last GET function. The redirect page shows only 'Welcome, '. Any help with this code would be really appreciated. Thank you. http://pastebin.com/jTSRXkpb
Upvotes: 0
Views: 42
Reputation: 24956
Please take a few minutes and learn how to put code in your posts so that it'll be part of the permanent record of your question.
In WelcomeHandler
,
user = self.request.get('username')
has no query parameter named username
, since self.redirect("/welcome")
isn't passing one. Try
self.redirect("/welcome?username=something")
Upvotes: 1