summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-02 22:36:41 -0600
committerDan McGee <dan@archlinux.org>2010-02-04 19:03:32 -0600
commit6fe8aec0abdfe284439e9d3adda85da8e5c3825b (patch)
tree666ed920937ffd6ef330247809b5fc91ea66a95b /urls.py
parentf22f20003b659a21ec387188130e4a5013c9271a (diff)
downloadarchweb-6fe8aec0abdfe284439e9d3adda85da8e5c3825b.tar.gz
archweb-6fe8aec0abdfe284439e9d3adda85da8e5c3825b.zip
feeds: add per arch, per repo feed ability
Make the feed framework a lot more flexible and give the possibility to have a feed for each architecture. You can drill down even more than also get a feed for a particular repo; some might find this helpful for something like tracking [testing]. Implements FS#12939. I also bumped up the number of items available in each of these feeds; since it is full of a bunch of small items it might be more helpful to have more available and it should also prevent fewer ones from being missed. The UI isn't exactly spectacular, but I figured some sort of page is better than none listing all the various feeds you can pull from. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 28bd0045..4a52998c 100644
--- a/urls.py
+++ b/urls.py
@@ -78,6 +78,7 @@ urlpatterns = patterns('',
(r'^devel/newuser/$', 'archweb.devel.views.new_user_form'),
# Feeds and sitemaps
+ (r'^feeds/$', 'archweb.public.views.feeds'),
(r'^feeds/(?P<url>.*)/$',
'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap',