Hi Christoph,
The nested call I unfortunately copied into some of my own methods was
in post_login of the root controller:
http://svn.turbogears.org/projects/tg.devtools/trunk/devtools/templates/turbogears/+package+/controllers/root.py_tmpl

Thanks for clearing this up!

James

On Sep 13, 1:05 pm, Christoph Zwerschke <[email protected]> wrote:
> Am 13.09.2010 13:09, schrieb James:
>
> > Obviously, I can replace redirect(url(path, **params)) with
> > redirect(path, **params),
>
> Yes, you should do that. The redirect() function already emprises url()
> (in both TG1 and TG2) so you should never nest it.
>
> If you saw a nested call in a quickstart template or tutorial, let us
> know where exactly and we'll fix it.
>
> -- Christoph

-- 
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.

Reply via email to