solved it with
redirect('/email/email_preview',
subject=subject,email_from=email_from,to=to,reply=reply,submit='submit')
On Jul 6, 3:07 pm, adam <[email protected]> wrote:
> I am trying to get a redirect working to a controller that needs to be
> passed some arguments
>
> i am doing this
>
> redirect('/email/email_info')
>
> and get the error
>
> email_preview() takes exactly 6 arguments (1 given)
>
> so how do i redirect and pass arguments to the controller?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---