code: def multi_raw(query, params, models, model_to_fields):
      
      cursor = connections[router.db_for_read(models[0])].cursor()
      cursor.execute(query, params)
      rows = cursor.fetchall()
  
      for row in rows:
          row_iter = iter(row)
          yield [model_class(**dict((a, next(row_iter))
                             for a in model_to_fields[model_class]))
                 for model_class in models]
docs: Scoop multiple model instances out of the DB at once, given a query that
      returns all fields of each.
  
      Return an iterable of sequences of model instances parallel to the
      ``models`` sequence of classes. For example::
  
          [(<User such-and-such>, <Watch such-and-such>), ...]