From 6fe8aec0abdfe284439e9d3adda85da8e5c3825b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 2 Feb 2010 22:36:41 -0600 Subject: 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 --- public/views.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'public') diff --git a/public/views.py b/public/views.py index 5c05782d..d4a1c80c 100644 --- a/public/views.py +++ b/public/views.py @@ -72,5 +72,12 @@ def moreforums(request): template_name="public/moreforums.html", template_object_name="forum") +def feeds(request): + context = { + 'arches': Arch.objects.all(), + 'repos': Repo.objects.all(), + } + return render_to_response('public/feeds.html', context) + # vim: set ts=4 sw=4 et: -- cgit v1.2.3-54-g00ecf