Re: differences in seek method for TemporaryUploadedFile & InMemoryUploadedFile

2009-07-20 Thread ryan
answering my own question, i think this has something to do with an exhausted iterator -ryan On Jul 20, 12:39 pm, ryan wrote: > In the following code, the second loop of "for row in csv_reader:" is > empty when dealing with an InMemoryUploadedFile object.  Setting >

differences in seek method for TemporaryUploadedFile & InMemoryUploadedFile

2009-07-20 Thread ryan
In the following code, the second loop of "for row in csv_reader:" is empty when dealing with an InMemoryUploadedFile object. Setting FILE_UPLOAD_MAX_MEMORY_SIZE equal to zero forces the use of a TemporaryUploadedFile object and solves the problem. It seems that seek(0) doesn't work with an