Hi Brian,
On Wed, Jun 10, 2009 at 5:54 PM, thebrianschott <[email protected]>wrote:
>
> Can I change the Subject code so that when a user
> finishes signing in, the user is redirected to a different
> html page that is designed for the user's revised
> state of having signed in, or signed out?
Sure - just use the destination url instead of self.request.uri.
>
>
> Or instead, can I use Django conditionals in the html
> like {{if user}}? My question about this is because I
> wonder if the variable "user" gets revised ina way that
> Django knows it is revised.
The page is reloaded after signin, so your entire handler (and associated
template) is executed again, this time with the user logged in.
-Nick Johnson
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---