#14063: Validating form file fields is hard
-------------------------------------------+--------------------------------
          Reporter:  olau                  |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  File uploads/storage  |       Version:  1.2   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by SmileyChris):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * component:  Uncategorized => File uploads/storage
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 You're right, it is hard.

 A [NamedTemporaryFile
 http://docs.python.org/library/tempfile.html#tempfile.NamedTemporaryFile]
 with the `delete` argument set to `False` seems like the behavior you're
 after, but unfortunately that argument was introduced in 2.6.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14063#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to