summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sitemaps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sitemaps.py b/sitemaps.py
index 9e2ef856..aab2009d 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -6,6 +6,7 @@ class PackagesSitemap(Sitemap):
priority = "0.4"
def items(self):
+ return Package.objects.select_related('arch', 'repo').all()
return Package.objects.all()
def lastmod(self, obj):