Skip to content

Commit d62bf3e

Browse files
committed
use .iterator()
1 parent 68cb7af commit d62bf3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/search/documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Meta:
111111

112112
def prepare_domains(self, html_file):
113113
"""Prepares and returns the values for domains field."""
114-
domains_qs = html_file.sphinx_domains.all()
114+
domains_qs = html_file.sphinx_domains.all().iterator()
115115
domains_qs = domains_qs.exclude(domain='std', type__in=['doc', 'label'])
116116

117117
all_domains = [{

0 commit comments

Comments
 (0)