summaryrefslogtreecommitdiff
path: root/public
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 /public
parentf22f20003b659a21ec387188130e4a5013c9271a (diff)
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 'public')
-rw-r--r--public/views.py7
1 files changed, 7 insertions, 0 deletions
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: