MCPcopy
hub / github.com/django/django / get_search_fields

Method get_search_fields

django/contrib/admin/options.py:1290–1295  ·  view source on GitHub ↗

Return a sequence containing the fields to be searched whenever somebody submits a search query.

(self, request)

Source from the content-addressed store, hash-verified

1288 return self.list_select_related
1289
1290 def get_search_fields(self, request):
1291 """
1292 Return a sequence containing the fields to be searched whenever
1293 somebody submits a search query.
1294 """
1295 return self.search_fields
1296
1297 def get_search_results(self, request, queryset, search_term):
1298 """

Callers 3

get_search_resultsMethod · 0.95
process_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected