[mod_python] file uploads and StringField / Field instances

Volodya volodya at real.samuraj.org
Sat Mar 13 23:17:43 EST 2004


On Sat, Mar 13, 2004 at 10:02:34PM +0200, David Fraser wrote:
> Volodya wrote:
> 
> >Hello,
> >
> >I'm experimenting with form-based file uploads (mod_python.publisher
> >handler). After reading mod_python-docs, i expect to get an instance of
> >Field class in one of req.form's items. But i always get StringField
> >instance. 
> > 
> >
> I reported this problem on the python-dev list.
> Here is my mail... and I have attached the patch... try it out and 
> report back...

Thanks, David!
After applying Your patch it works just fine.
I've tested it on both 3.1.2b and yours 3.1.3 build (it seems the only
changes from 3.1.2b to 3.1.3 in util.py are license lines).




More information about the Mod_python mailing list