[mod_python] Approaches to handling input forms.

Jorey Bump list at joreybump.com
Wed Oct 20 00:54:13 EDT 2004


Graham Dumpleton wrote:

> What you perhaps end up with is using method parameters for quite simple
> forms, but for more complicated ones fallback to using req.form instead.
> 
> Is this probably a fare enough thing to say?

Yes, that's how I do it. To do otherwise would require setting defaults 
for all possible arguments, which can get ugly for long forms. It's also 
redundant, since the req.form dictionary is available.


More information about the Mod_python mailing list