title: Django Many to many how to give input to 3rd table
body: <pre><code>class Author(models.Model):
      name = models.CharField(max_length = 100)
      def __str__(self):
          return self.name
    
  class Book(models.Model):
      title = models.CharField(max_length = 100)
      authors = models.ManyToManyField(Author)
      def __str__(self):
          return self.title
  
      In [5]: Author.objects.all()
  Out[5]: &lt;QuerySet [&lt;Author: Shanmukh&gt;, &lt;Author: Shyam&gt;, &lt;Author: sai&gt;, &lt;Author: VICKYS&gt;, &lt;Author: Himayu&gt;, &lt;Author: Himanya&gt;, &lt;Author: Srinivas&gt;, &lt;Author: LASKARATOYIBA&gt;, &lt;Author: ISI&gt;, &lt;Author: JAMI&gt;]&gt;
  </code></pre>
  <p>please help in solving this i dont understand how do i give data to 3rd table which is a combination of id bookid and authorid</p>