title: How to do join on 3 tables in Django Rest Framework (only primary keys)
body: <p>I have three models, each with a primary key. How can I perform join operation using rest framework in Django?</p>
  
  <p>These are tables:</p>
  
  <pre><code>class Publisher(models.Model):
      name = models.CharField(max_length=30)
      address = models.CharField(max_length=50)
      city = models.CharField(max_length=60)
      state_province = models.CharField(max_length=30)
      country = models.CharField(max_length=50)
      website = models.URLField()
  
  class Author(models.Model):
      first_name = models.CharField(max_length=30)
      last_name = models.CharField(max_length=40)
      email = models.EmailField()
  
  class Book(models.Model):
      title = models.CharField(max_length=100)
      authors = models.ManyToManyField(Author)
      publisher = models.ForeignKey(Publisher)
      publication_date = models.DateField()
  </code></pre>