title: django-rest-framework How to handle multiple URL parameter?
body: <p>How can I use generic views with multiple URL parameters? Like</p>
  
  <pre><code>GET /author/{author_id}/book/{book_id}
  
  class Book(generics.RetrieveAPIView):
  
      queryset = Book.objects.all()
      serializer_class = BookSerializer
      lookup_field = 'book_id'
      lookup_url_kwarg = 'book_id'
  
      # lookup_field = 'author_id' for author
      # lookup_url_kwarg = 'author_id'
  </code></pre>