code: def _get_related_views_widgets(
          self, item, orders=None, pages=None, page_sizes=None, widgets=None, **args
      ):
          
          widgets = widgets or {}
          widgets["related_views"] = []
          for view in self._related_views:
              if orders.get(view.__class__.__name__):
                  order_column, order_direction = orders.get(view.__class__.__name__)
              else:
                  order_column, order_direction = "", ""
              widgets["related_views"].append(
                  self._get_related_view_widget(
                      item,
                      view,
                      order_column,
                      order_direction,
                      page=pages.get(view.__class__.__name__),
                      page_size=page_sizes.get(view.__class__.__name__),
                  )
              )
          return widgets
docs: :return:
                  Returns a dict with 'related_views' key with a list of
                  Model View widgets