title: Django: Upload a file and read its content to populate a model?
body: <p>I am new to Django and would like to know what is the Django-way to add elements in a database not by entering each field from an html form (like it is done by default) but uploading a single file (for example a json file) that will be used to populate the database?</p>
  
  <p>So let say the model has only three fields: title,description,quantity.
  And I have a text file (myFile.txt) with "myTitle:myDesc" written in it.</p>
  
  <p>What I want is just a FileField that will accept a text file so I can upload myFile.txt and the title and description will be read from this file.
  And at the same time the quantity will be asked "normally" in a text input as it would be by default (only title and description are read from the file).</p>
  
  <p>Of course, validation on the file will be done to accept/deny the uploaded file.
  The problem I am facing is that if I add a FileField to the model, the file will be stored in the local storage.
  I want the content of the uploaded file to be read, used to create an entry in the model, and then deleted.</p>
  
  <p>Even the admin should not be able to manually add an element entering the title and description in a HTML form but only by uploading a file.
  Can someone help me in a Django-way?</p>