summaryrefslogtreecommitdiff
path: root/sitemaps.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-08 00:23:55 -0500
committerDan McGee <dan@archlinux.org>2010-09-08 00:23:55 -0500
commitf637a1eb67ed906b936ef70c0c1d8572edfe5bd7 (patch)
treea039c5890c1b3017f3245eb518b05f35930f14b8 /sitemaps.py
parent4e193afcea1c6096c05338ee000447fed72eb7ba (diff)
Move news model to an appropriate place
Never would have guessed it should actually be in news/models.py. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitemaps.py')
-rw-r--r--sitemaps.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sitemaps.py b/sitemaps.py
index cc8db94b..e321fe85 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -1,6 +1,7 @@
from django.contrib.sitemaps import Sitemap
-from main.models import Package, News
-from packages.views import get_group_info
+from main.models import Package
+from news.models import News
+from packages.utils import get_group_info
class PackagesSitemap(Sitemap):
changefreq = "weekly"