On Jan 16, 12:04 pm, djidjadji <[email protected]> wrote:
> According to the manual
>
> http://code.google.com/appengine/docs/python/users/functions.html
>
Thanks! I changed the "/" to "self.request.uri" and it seems to work
now:
if user:
greeting = ("%s (<a href='%s'>sign out</a>)" %
(user.nickname(),
users.create_logout_url(self.request.uri)))
else:
greeting = ("<a href='%s'>Sign in or register</a>." %
cgi.escape(users.create_login_url(self.request.uri)))
But I don't understand why. Does it work for you too?
http://sarah-for-president.appspot.com/submit
Thanks for the help.
--
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.