diff options
| author | Yuval Adam <yuval@top7.com> | 2011-03-10 13:09:17 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@top7.com> | 2011-03-10 13:09:17 +0200 |
| commit | 708b1c943c636eefaeb491e30f5a8339905471c1 (patch) | |
| tree | c8ac9480531459760f1ccfeb4b03020c681f0730 /main | |
| parent | 9226077cc61d467b9352582f961cd96a657e8641 (diff) | |
borders and shit
Diffstat (limited to 'main')
| -rw-r--r-- | main/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |
