Hello,

I'm new to Pylons. In the Forms section of the 1.0 documentation on
the Pylons website we're given the following example:

def email(self):
    # Code to perform some action based on the form data
    # ...
    redirect(url(action='result'))



... but in a default 1.0 installation, the 'url' function takes me to
/content/result (which doesn't exist) instead of /hello/result. I
didn't touch config/routing.py; it still says:

    map.minimization = False
    map.explicit = False


Should I use url.current() here instead?

And how do I change this default '/content/' controller to point to
'/non-existent/' or something similar – where is it defined?


Thanks,

  Wouter

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

Reply via email to