summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-27 17:25:46 -0500
committerDan McGee <dan@archlinux.org>2010-08-27 17:25:46 -0500
commite595665abd8700afc6474f08bef95eea3c986260 (patch)
treee6eb9034c0d844a723cf48c4593f7029fa22ba00 /urls.py
parentd21de73592062bce687e78e2dc4d0f415f42b3cf (diff)
Add a package groups sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 7d7e363c..0030343c 100644
--- a/urls.py
+++ b/urls.py
@@ -8,12 +8,13 @@ from django.contrib.auth.decorators import permission_required
from main.models import Todolist
from feeds import PackageFeed, NewsFeed
-from sitemaps import NewsSitemap, PackagesSitemap, PackageFilesSitemap
+import sitemaps
sitemaps = {
- 'news': NewsSitemap,
- 'packages': PackagesSitemap,
- 'package-files': PackageFilesSitemap,
+ 'news': sitemaps.NewsSitemap,
+ 'packages': sitemaps.PackagesSitemap,
+ 'package-files': sitemaps.PackageFilesSitemap,
+ 'package-groups': sitemaps.PackageGroupsSitemap,
}
admin.autodiscover()