Hi Brian,

On Wed, Jun 10, 2009 at 5:54 PM, thebrianschott <schott.br...@gmail.com>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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to