parameters: (self, *models)
return_statement: return clone
docstring: Accepts an arbitrary number of Model classes to include in the search.
docstring_summary: Accepts an arbitrary number of Model classes to include in the search.
docstring_tokens: Accepts an arbitrary number of Model classes to include in the search .
function: def models(self, *models):
          """Accepts an arbitrary number of Model classes to include in the search."""
          clone = self._clone()
  
          for model in models:
              if not model in connections[self.query._using].get_unified_index().get_indexed_models():
                  warnings.warn('The model %r is not registered for search.' % model)
  
              clone.query.add_model(model)
  
          return clone
function_tokens: def models ( self , * models ) : clone = self . _clone ( ) for model in models : if not model in connections [ self . query . _using ] . get_unified_index ( ) . get_indexed_models ( ) : warnings . warn ( 'The model %r is not registered for search.' % model ) clone . query . add_model ( model ) return clone