title: Way to allow for duplicate many-to-many entries in Python/Django
body: <p>I have the following Django model:</p>
  
  <pre><code>class Icon(models.Model):
      name = models.CharField(max_length=200,null=False,blank=False)
  
  class Post(models.Model):
      icons = models.ManyToManyField(Icon)
  </code></pre>
  
  <p>When I write the following code:</p>
  
  <pre><code>post = Post()
  icons = []
  icon_id = form.cleaned_data['icon_1']
  if (icon_id):
      i = Icon.objects.get(id=icon_id)
      icons.append(i)
  
  icon_id = form.cleaned_data['icon_2']
  if (icon_id):
      i = Icon.objects.get(id=icon_id)
      icons.append(i)
  
  post.icons = icons
  post.save()
  </code></pre>
  
  <p>It works fine for the most part, creating a Post object and the two Icon objects.</p>
  
  <p>However, if the icon_id is, say, 1 in both cases, it only creates ONE entry in the database, not two. </p>
  
  <p>So it seems like it checks for duplicates and removes them.</p>
  
  <p>How do I make this work so I allow duplicates? (I want two of the SAME icon associated with a post.)</p>
  
  <p>Thanks!</p>