title: Django: how save bytes object to models.FileField?
body: <p>My web application has the following structure:</p>
  
  <ol>
  <li>backend with Django</li>
  <li>frontend with React.</li>
  </ol>
  
  <p>I have a form with React. I send a file from client form and I receive the file in my Django application with an APIView.</p>
  
  <p>I receive a m3u file as bytes object. </p>
  
  <pre><code>b'------WebKitFormBoundaryIaAPDyj9Qrx8DrWA\r\nContent-Disposition: 
  form-data; name="upload"; 
  filename="test.m3u"\r\nContent-Type: audio/x- 
  mpegurl\r\n\r\n#EXTM3U\n#EXTINF:-1 tvg-ID="" tvg-name="...
  </code></pre>
  
  <p>I would save the file in a Django model to a models.FileField and convert bytes object to m3u file.
  How you do it?</p>