I'm sure there's a simple answer to this but I haven't been able to find
it through google or the docs. I want to do a redirect from a controller
to a URL relative to the URL of the controller. For example, my method
signature might be:
def someaction(self, label):
so the URL to get there is
http://myhost/path/to/controller/someaction/somelabel
I want to do
redirect(somemagic)
so that the redirect points at
http://www.myhost.com/path/to/controller
and I want this to work no matter how many arguments I peeled off
the end of the URL in the method signature, and without having
to hardcode /path/to/controller.
I'm guessing this is a common need, so there's probably some simple
way to do it, but I haven't figured it out yet ;)
--RDM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---