From 2750b943457b63325a1292274070ac24b1fe5f99 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 28 Aug 2010 10:53:27 -0500 Subject: 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 --- sitemaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sitemaps.py') 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'] -- cgit v1.2.3-55-g3dc8