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
>
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
2 matches
Mail list logo