code: def get_routes(self, viewset):
          
          routes = super(DynamicRouter, self).get_routes(viewset)
          routes += self.get_relation_routes(viewset)
          return routes
docs: DREST routes injection, overrides DRF's get_routes() method, which
          gets called for each registered viewset.