I guess you can just do a redirect to the url generated by users.create_login_url("/") from your handler when user clinks on the link in your home page.
On Fri, Jan 9, 2009 at 12:12 AM, thebrianschott <schott.br...@gmail.com>wrote: > > http://code.google.com/appengine/docs/users/loginurls.html > > At the link above it explains how to send a user off to sign-in or > register in a python script. The code below does what I want, but I > don't know how to do the same thing as an html hyperlink on my > applications "home" page. Not all users need to login to proceed > further into my application, only those who want to create their own > map. > > greeting = ("<a href=\"%s\">Sign in or register</a>." % > users.create_login_url("/")) > > self.response.out.write("<html><body>%s</body></html>" % greeting) > > Thanks, > > Brian in Atlanta > > Btw if you want to play with my app, it is at > http://carpoolfinder.appspot.com > There is a sort of a sandbox that does not require a sign-in if you > enter "Tester" (without quotes) in the inital text field. > > > > > > -- cheers Gipsy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---