> The URL you supply needs to be absolute 
> ('http://mysite.com/choose_user.html'), not relative ('choose_user.html' or
> '/choose_user.html').

Is the documentation wrong?

>From http://code.google.com/appengine/docs/python/users/functions.html
"dest_url can be full URL or a path relative to your application's
domain."

The examples in 
http://code.google.com/appengine/docs/python/users/loginurls.html
use "/".



On Jun 10, 10:16 am, "Nick Johnson (Google)" <nick.john...@google.com>
wrote:
> Hi Brian,
>
> The URL you supply needs to be absolute 
> ('http://mysite.com/choose_user.html'), not relative ('choose_user.html' or
> '/choose_user.html'). You may find the self.request.host and
> self.request.host_uri members helpful in constructing an absolute url from a
> relative one without hardcoding your site's domain.
>
> -Nick Johnson
>
> On Wed, Jun 10, 2009 at 6:10 PM, thebrianschott <schott.br...@gmail.com>wrote:
>
>
>
>
>
> > Nick,
>
> > Thanks.
>
> > Would the new code be something like this if I sent the user to a
> > "signin"?
> > alternative to self.redirect(users.create_login_url(choose_user.html))
>
> > Brian in Atlanta- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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