title: Django model for storing multiple files in a single user profile
body: <p>When a user logs into the database, he generates a WAV audio file (in the browser) which has to be stored in the database. The problem is that, everything is fine when I store the file for the first time. But, when I store after that, I get <code>IntegrityError</code>. Does anyone have the solution to this? </p>
  
  <p>My current <code>models.py</code> is the following:</p>
  
  <pre><code>class InputFile(models.Model):
  
  audio_file = models.FileField(upload_to='audio_files')
  input_user = models.ForeignKey(User)
  rec_date = models.DateTimeField('date recorded', auto_now_add=True)
  </code></pre>