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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---