diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-27 17:25:46 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-27 17:25:46 -0500 |
commit | e595665abd8700afc6474f08bef95eea3c986260 (patch) | |
tree | e6eb9034c0d844a723cf48c4593f7029fa22ba00 /urls.py | |
parent | d21de73592062bce687e78e2dc4d0f415f42b3cf (diff) |
Add a package groups sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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() |