[Zope] a redirect of an url in Python
Bill Welch
bill@carbonecho.com
Fri, 1 Sep 2000 20:59:34 +0000 (GMT)
Both this one line python method:
raise 'Redirect', 'http://www.zope.org'
and this DTML method
<dtml-raise type="Redirect">
http://www.zope.org
</dtml-raise>
work.
P. S. the double quotes around Redirect in the DTML method are
significant. With single quotes, it shows up as an error named Redirect
Bill.
On Fri, 1 Sep 2000, Kapil Thangavelu wrote:
> in python you have to raise a redirect, search the lists for exact
> syntax
> something along the lines of
>
> raise Redirect "url"