From 708b1c943c636eefaeb491e30f5a8339905471c1 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Thu, 10 Mar 2011 13:09:17 +0200 Subject: borders and shit --- main/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/views.py b/main/views.py index 6400d59..56c1394 100644 --- a/main/views.py +++ b/main/views.py @@ -9,7 +9,7 @@ from random import randint import json def index(request): - matches = Match.objects.all().order_by('-date')[0:5] + matches = Match.objects.all().order_by('-date')[0:7] players = Player.objects.all().order_by('name') return render_to_response('main.html', {'matches' : matches, 'players' : players}, context_instance=RequestContext(request)) @@ -41,4 +41,4 @@ def match(request): def test(request): matches = Match.objects.all().order_by('date') - return HttpResponse(json.dumps(matches)) \ No newline at end of file + return HttpResponse(json.dumps(matches)) -- cgit v1.3.1