summaryrefslogtreecommitdiff
path: root/sitemaps.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-28 10:53:27 -0500
committerDan McGee <dan@archlinux.org>2010-08-28 10:53:27 -0500
commit2750b943457b63325a1292274070ac24b1fe5f99 (patch)
tree508b8079bf027d259934a3a286d71fe5fe12a582 /sitemaps.py
parent4c3100ab907b9edafad7913c03278caaa22ed4d1 (diff)
Move package utility functions
We now have a few of them, so move them to their own file like we do in the other applications. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitemaps.py')
-rw-r--r--sitemaps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sitemaps.py b/sitemaps.py
index 584e3b3b..cc8db94b 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -1,6 +1,6 @@
from django.contrib.sitemaps import Sitemap
from main.models import Package, News
-from packages.views import get_group_information
+from packages.views import get_group_info
class PackagesSitemap(Sitemap):
changefreq = "weekly"
@@ -30,7 +30,7 @@ class PackageGroupsSitemap(Sitemap):
priority = "0.4"
def items(self):
- return get_group_information()
+ return get_group_info()
def lastmod(self, obj):
return obj['last_update']