I found I had put a import to redirect that was causing the crash.
Strange thing is that it looks like it was neeed in past (I don´t
remember why)
and now it crashes but removing ti everything is normal.

On Nov 11, 4:19 pm, yamandu <[email protected]> wrote:
> One thing that could have to do with this is that I downgrade Python
> recently from 2.5 to 2.5
>
> On Nov 9, 2:30 pm,yamandu<[email protected]> wrote:
>
> > After upgraded I got exception when try toredirectusingredirect(URL()).
>
> > I used to do :
> > returnredirect(URL(r=request, f='modelo'))
>
> > but it works no more, gives me a ticket that don´t tells the error
> > just the line.
> > The folowing is an exerpt from the ticket thrown by the book example:
>
> > defredirect(location, how=303):
> >     location = location.replace('\r', '%0D').replace('\n', '%0A')
> >     raise HTTP(how,
> >                'You are being redirected <a href="%s">here</a>' %
> > location,
> > Location=location)
>
> >     * Location: undefined
> >     * location: '/welcome/default/index/1/2/3?a=b'
>
>

Reply via email to