For pylons 1.0 and a redirect executed in a controller action the following should work-
Note: make sure you set the imports below in the controller file or in some other module such as, say, helpers.py from pylons.controllers.util import redirect from pylons import url def testController(BaseController): def test_redirect(self): return redirect(url('http://www.cnn.com')) On Oct 4, 2:14 pm, Ryan <ryan.mckil...@gmail.com> wrote: > This: > redirect('http://www.website.com') > > Will redirect to:http://www.myapp.com/http://www.website.com > > I'd like it to redirect to:http://www.website.com > > Is there an addition argument I can pass to redirect to make it happen? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.