diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-19 10:33:03 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-19 10:33:03 -0600 |
commit | fbc153ed456f2f4aa730580f942d10d973fd1ea9 (patch) | |
tree | 198f5a969c01738513c6441981fd1339ef7d2d33 /urls.py | |
parent | a42a0dc6e400d03609d2d53c0955273b3c05c7ea (diff) |
Initial cut of a Releases RSS feed
This is our first use of enclosures on the site as well.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,7 +6,7 @@ from django.views.decorators.cache import cache_page from django.views.generic import TemplateView, RedirectView from django.views.i18n import null_javascript_catalog -from feeds import PackageFeed, NewsFeed +from feeds import PackageFeed, NewsFeed, ReleaseFeed import sitemaps our_sitemaps = { @@ -32,6 +32,7 @@ feeds_patterns = patterns('', cache_page(300)(PackageFeed())), (r'^packages/(?P<arch>[A-z0-9]+)/(?P<repo>[A-z0-9\-]+)/$', cache_page(300)(PackageFeed())), + (r'^releases/$', cache_page(300)(ReleaseFeed())), ) # Sitemaps |