summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-19 10:33:03 -0600
committerDan McGee <dan@archlinux.org>2013-01-19 10:33:03 -0600
commitfbc153ed456f2f4aa730580f942d10d973fd1ea9 (patch)
tree198f5a969c01738513c6441981fd1339ef7d2d33 /urls.py
parenta42a0dc6e400d03609d2d53c0955273b3c05c7ea (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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 1bdf1a58..82882970 100644
--- a/urls.py
+++ b/urls.py
@@ -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