python - GAE - Issue with GET -
i'm trying make basic sign form on google app engine redirects , writes 'welcome, (name_of_user)' when input valid. seems i'm having problem last function. redirect page shows 'welcome, '. code appreciated. thank you. http://pastebin.com/jtsrxkpb
please take few minutes , learn how put code in posts it'll part of permanent record of 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")
Comments
Post a Comment