Pass seeother absolute=True like this:
raise web.seeother('/', absolute=True)
On Sep 1, 7:44 am, Delirium tremens <[email protected]> wrote:
> I have code.py accessible athttp://0.0.0.0:8080and account.py with a
> create class accessible athttp://0.0.0.0:8080/account/create, but
> when I raise web.seeother('/')in the create class, the browser goes
> tohttp://0.0.0.0:8080/account/when it should go tohttp://0.0.0.0:8080/.
> How to make it go
> tohttp://0.0.0.0:8080/fromhttp://0.0.0.0:8080/account/create?
--
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en.