title: 'InMemoryUploadedFile' object is not callable
body: <p>While uploading the csv file showing &quot;'InMemoryUploadedFile' object is not callable &quot; this error, i want to import the csv file data into database using APIview.</p>
  <p>Here My Apiview</p>
  <pre><code>class UploadViewSet(APIView):
  parser_classes = (MultiPartParser, FormParser)
  permission_classes = (AllowAny,)
  serializer_class= UploadSerializer
   
  def post(self, request, *args, **kwargs):
      serializer = UploadSerializer(data=request.data)
      serializer.is_valid(raise_exception=True)
      file = serializer.validated_data['File']
      reader = csv.reader(file('file','r'))
      for row in reader():
          new_company = Company(
                      name=row['name'],
                      hr_name=row['hr_name'],
                      hr_email=row['hr_email'],
                      hr_verified=row['hr_verified'],
                      user_id=row['user_id'],
                      primary_phone=row['primary_phone'],
                      comments=row['comments'],
                     )
          new_company.save()
          
      return Response({&quot;status&quot;: &quot;success&quot;},status.HTTP_201_CREATED)
  </code></pre>