Re: InMemoryUploadedFile object retrieved from request.FILES got closed automatically on django 1.7

2014-12-16 Thread Hong Yi
-Magee wrote: > > > On Tue, Dec 16, 2014 at 4:53 AM, Hong Yi <hon...@renci.org > > wrote: > >> Hello, >> >> I am new to Django and have implemented two views and their corresponding >> template pages and they are working well in Django 1.6. However, when &g

InMemoryUploadedFile object retrieved from request.FILES got closed automatically on django 1.7

2014-12-15 Thread Hong Yi
Hello, I am new to Django and have implemented two views and their corresponding template pages and they are working well in Django 1.6. However, when migrating to Django 1.7, I got an error "I/O operation on closed file" when getting to the second view function. I found out the root cause for