summaryrefslogtreecommitdiff
path: root/public/views.py
diff options
context:
space:
mode:
authorOlivier Keun <olivier.keun@gmail.com>2011-07-22 16:25:57 +0200
committerDan McGee <dan@archlinux.org>2011-08-16 15:58:40 -0500
commita4895f06680beaf447ed43ee326423fcc8232815 (patch)
tree244990d4d0aeb846b4b47738344aca6a58d734d4 /public/views.py
parenta06ab5c1eb2053d33e15244ea579875aa72c0c1f (diff)
News frontpage layout changes
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public/views.py')
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index 46291b88..e3f3b02f 100644
--- a/public/views.py
+++ b/public/views.py
@@ -13,7 +13,7 @@ from django.views.generic.simple import direct_to_template
def index(request):
pkgs = utils.get_recent_updates()
context = {
- 'news_updates': News.objects.order_by('-postdate', '-id')[:10],
+ 'news_updates': News.objects.order_by('-postdate', '-id')[:15],
'pkg_updates': pkgs,
}
return direct_to_template(request, 'public/index.html', context)