Automatically generate input type="password" for security-sensitive fields?

2006-03-11 Thread James Bennett
Someone in the IRC channel tonight was asking why the built-in User model, when rendered by formfields, doesn't render the password field as an input of type "password", and it struck me that this is a good question, because there are plenty of use cases where you'd want that behavior to happen.

Re: Streaming uploads to temp files

2006-03-11 Thread Ivan Sagalaev
luca wrote: >I'm sure you did but just for the record take a look at cherrypy >approach on this: http://www.cherrypy.org/wiki/FileUpload > > They do exactly the same thing: parse uploaded data with cgi.FieldStorage that streams them to a temp file. In fact there is still a problem with this a

Re: Streaming uploads to temp files

2006-03-11 Thread luca
Hi ! This is a great improvement I will try it asap. I'm sure you did but just for the record take a look at cherrypy approach on this: http://www.cherrypy.org/wiki/FileUpload After a simple recipe there is another that work very well, I've tested it on a local network with several iso images with