title: How to add data into ManyToMany field?
body: <p>I can't find it anywhere, so your help will be nice for me :) Here is that field:</p>
  
  <pre><code>categories = models.ManyToManyField(fragmentCategory)
  </code></pre>
  
  <p>FragmentCategory:</p>
  
  <pre><code>class fragmentCategory(models.Model):
  
          CATEGORY_CHOICES = (
                          ('val1', 'value1'),
                          ('val2', 'value2'),
                          ('val3', 'value3'),
                          )
  
          name = models.CharField(max_length=20, choices=CATEGORY_CHOICES)
  </code></pre>
  
  <p>Here is the form to send:</p>
  
  <pre><code>&lt;input type="checkbox" name="val1" /&gt;
  &lt;input type="checkbox" name="val2" /&gt;
  &lt;input type="checkbox" name="val3" /&gt;
  </code></pre>
  
  <hr>
  
  <p>I tried something like this: </p>
  
  <pre><code>categories = fragmentCategory.objects.get(id=1),
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>categories = [1,2]
  </code></pre>