On Nov 11, 2004, at 4:05 PM, Oleg Broytmann wrote:
> On Thu, Nov 11, 2004 at 04:02:14PM +0100, Mario Ruggier wrote:
>> def _q_lookup(self, request, component):
>> # ... do something with component ...
>> print component, request.get_url(),
>> request.get_header('HTTP_REFERER')
>> request.redirect(request.get_header('HTTP_REFERER') or
>> '/path/'
>
> from quixote.util import Redirector
> ....
> def _q_lookup(self, request, component):
> ....
> return Redirector("/new/location")
Yes, that works... obviously ;-(
I have not seen any mention of this anywhere in the docs... if it is
there i missed it. Or should I read thru all the code ;-?
Thanks... mario