Skip to content

Commit efdc096

Browse files
jobselkopatchback[bot]
authored andcommitted
Merge pull request #1501 from jobselko/simple-index-preload-domain
Preload pulp_domain for publication simple index (cherry picked from commit 8d6dabe)
1 parent f5b3d83 commit efdc096

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)