Guys I figured it out it should have been like this redirect_to(action='myaction')
I was missing action= weird error though. On Feb 24, 1:26 pm, "Pradeep" <[EMAIL PROTECTED]> wrote: > I noticed the following error with Myghty > File 'd:\\python25\\lib\\site-packages\\Myghty-1.1-py2.5.egg\\myghty\ > \importer.py', line 54 in import_module > return builtin_importer(name, globals, locals, fromlist) > ImportError: No module named content > > Now why is Myghty referring to something called content only when I > use redirect_to?? > > On Feb 24, 1:20 pm, "Pradeep" <[EMAIL PROTECTED]> wrote: > > > I am using redirect_to to redirect to another action in one of my > > actions. > > But when the code executed I get a irrelevant error about <type > > 'exceptions.ImportError'>: No module named content > > > If I remove redirect_to call the script works fine.. > > why should a redirect_to call throw a import error. I guess I have all > > modules installed correctly. > > > Any idea anyone? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
