Skip to content

Commit 245fa61

Browse files
committed
Remove count
1 parent 3ef3c3c commit 245fa61

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

readthedocs/redirects/querysets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ def get_redirect_path_with_status(self, path, full_path=None, language=None, ver
7575
)
7676

7777
queryset = queryset.filter(prefix | page | exact | sphinx_html | sphinx_htmldir)
78-
queryset.select_related('project').count()
7978

8079
# There should be one and only one redirect returned by this query. I
8180
# can't think in a case where there can be more at this point. I'm

0 commit comments

Comments
 (0)