From 6fd95019236e59e3d2feb2252bd4d014edc44dc3 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 26 Nov 2010 14:07:58 -0500 Subject: [PATCH] a bit more info about the root controller methods --- docs/source/quick_start.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/quick_start.rst b/docs/source/quick_start.rst index 723cce7..4d3110d 100644 --- a/docs/source/quick_start.rst +++ b/docs/source/quick_start.rst @@ -138,6 +138,10 @@ but for now we have an *index* method and a *handle_form* one. **index**: Is *exposed* as the root of the application, so anything that hits '/' will touch this method. +Since we are doing some validation and want to pass any errors we might get to +the template, we set ``errors`` to receive anything that +``request.validation_error`` returns. + **handle_form**: It receives 2 parameters (*name* and *age*) that are validated through the *SampleForm* schema class.