[mod_python] strange behavior of form + patch for mod_python

Rafal Zawadzki bluszcz at jabberpl.org
Sat Nov 26 14:09:42 EST 2005


Dnia sobota 26 listopad 2005 20:06, Jim Gallacher napisał:

> >   def force_as_list( v ):
> >      if type(v) is not type([]):
> >         return [v]
> >      return v
>
> Or use form.getlist('testkey')
>
> ;)
>
> Jim

I will. 

Cheers,

-- 
 __     __   Rafał Zawadzki [jid/mail: bluszcz at jabberpl.org, skype: blvszcz]
|  |--.|  |.--.--.-----.-----.----.-----. [www: http://bluszcz.jabberpl.org]
|  _  ||  ||  |  |__ --|-- __|  __|-- __| [ http://pyrss.jabberstudio.org/ ]
|_____||__||_____|_____|_____|____|_____|                 つた 



More information about the Mod_python mailing list