Skip to content

Commit a2f82c7

Browse files
authored
Merge pull request #1503 from pulp/patchback/backports/3.38/8d6dabe4fd470ed67df1f304ae7704c653171b13/pr-1501
[PR #1501/8d6dabe4 backport][3.38] Preload pulp_domain for publication simple index
2 parents f5b3d83 + efdc096 commit a2f82c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pulp_python/app/models.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def content_handler(self, path):
114114
publication.published_artifact.select_related(
115115
"content_artifact",
116116
"content_artifact__artifact",
117+
"content_artifact__artifact__pulp_domain",
117118
)
118119
.get(relative_path=rel_path)
119120
.content_artifact

0 commit comments

Comments
 (0)