title: Django send excel file to Celery Task. Error InMemoryUploadedFile
body: <p>I have background process - read excel file and save data from this file. I need to do read file in the background process. But i have error <code>InMemoryUploadedFile</code>.
  My code</p>
  
  <pre><code>def create(self, validated_data):
     company = ''
     file_type = ''
     email = ''
     file = validated_data['file']
  
              import_data.delay(file=file,
                                         company=company,
                                         file_type=file_type,
                                         email=email)
  </code></pre>
  
  <p>my method looks like </p>
  
  <pre><code>@app.task
  def import_data(
          file,
          company,
          file_type,
          email):
  // some code
  </code></pre>
  
  <p>But i have error <code>InMemoryUploadedFile</code>. </p>
  
  <p>How i can to send a file to cellery without errors? </p>