title: django: quering model with many-to-many fields
body: <p>I have models like this</p>
  
  <pre><code>class Book(models.Model):
      title = models.CharField(max_length=254)
      subtitle = models.CharField(max_length=254, null=True, blank=True)
      subjects = models.ManyToManyField(Subject)
  
  class Subject(models.Model):
      name = models.CharField(max_length=255)
      description = models.CharField(max_length=254, null=True, blank=True)
  </code></pre>
  
  <p>Now when i do</p>
  
  <pre><code>Book.objects.get_or_create(subjects=[2,4] , title='Genetics', subtitle='Theory of Genetics')
  </code></pre>
  
  <p>Here the value of subjects is the list of related subjects id.
  This gives me an error saying arguments should be string or number a <code>TypeError</code>. </p>
  
  <p>How can I handle this situation with multiple subjects ?</p>