title: How to Query Django ManyToMany Relationship
body: <p>Please I need help with getting the result of querying my ManyToMany fields.</p>
  
  <p>Basically I have the following models:</p>
  
  <pre><code>class Book(models.Model):
      title = models.CharField(max_length=50)
      authors = models.ManyToManyField(Author)
  
  class Author(models.Model):
      first_name = models.CharField(max_length=30)
      last_name = models.CharField(max_length=40)
  </code></pre>
  
  <p>How should I query my book model to show all the authors of each book, based on the book_id and without the book_id, and how to query all the books that were written by one author?</p>
  
  <p>I have tried to follow the Docs where Pizza and Topping but I'm not getting it, so thanks in advance friends and have a good day.</p>