title: error saving data to database
body: <p>I'm using Django-models for saving data to database but I have a problem,
  a new record has an incorrect id (I need to save some records in a <code>for</code> loop)</p>
  
  <p>My error: </p>
  
  <blockquote>
    <p>IntegrityError: (1062, u"Duplicate entry '46' for key 'PRIMARY'") </p>
  </blockquote>
  
  <p>The view:</p>