title: Attribute error: 'str' object has no attribute 'read' python-django
body: <p>So the scenario here is, I have a endpoint that will take a zipfile, unzip it and save it to media dir for now. Here's the whole code for that</p>
  
  <pre><code>def get_filenames(path_for_zip):
      with ZipFile(path_for_zip, 'r') as zip:
          return zip.namelist()
  
  
  class Upload(View):
      def post(self, request):
  
          context = {}
  
          upload_file = request.FILES['document']
          unzip_file = get_filenames(upload_file)
          for files in unzip_file:
              print(files)
              fs = FileSystemStorage()
              fs.save('read.jpg', files)
  
  
  
  
          return render (request, 'toDo_app.html', context)
  </code></pre>
  
  <p>I am using <code>FileSystemStorage</code> as you can see. <code>ZipFile</code> is unzipping properly and i can see it in <code>print(files)</code> but the issue is at <code>FileSystemStorage</code> I guess, Its not getting saved and I get this error:</p>
  
  <pre><code>attribute error 'str' object has no attribute 'read'. 
  </code></pre>
  
  <p>Please point me out what did I do wrong and how should it be solved. Thank you. </p>