On 20 August 2010 20:56, Mike Orr wrote:
> On Fri, Aug 20, 2010 at 10:49 AM, Mike Orr wrote:
>> On Tue, Aug 17, 2010 at 9:16 AM, Wouter Van Hemel
>> That example is taking more shortcuts than it should, and may be a
>> leftover from an older version of Pylons.
>
> Added a ticket for this.
>
> htt
On Fri, Aug 20, 2010 at 10:49 AM, Mike Orr wrote:
> On Tue, Aug 17, 2010 at 9:16 AM, Wouter Van Hemel
> That example is taking more shortcuts than it should, and may be a
> leftover from an older version of Pylons.
Added a ticket for this.
http://pylonshq.com/project/pylonshq/ticket/702
--
Mik
On Tue, Aug 17, 2010 at 9:16 AM, Wouter Van Hemel
wrote:
> 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(
I'm not sure why it's defaulting to '/content/', but you can pass a
controller argument to the URL function. If you're trying to redirect to
action 'result' of controller 'hello', try this instead:
def email(self):
# Code to perform some action based on the form data
# ...
redirect(url(co
On Aug 17, 7:16 pm, Wouter Van Hemel
wrote:
> [...]
> ... 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 = Fal
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 'ur