Permalink
Browse files

#111 - changing the max events displayed to 5 from 3

  • Loading branch information...
1 parent e587b9d commit a5956db232e644d829d16ec0fded89da9079a0af @rossbruniges rossbruniges committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gameon/static_site/views.py
@@ -15,7 +15,7 @@ def home(request, template='static_site/landing.html'):
upcoming_events = Event.objects.get_upcoming()
data = {
- 'events': upcoming_events.order_by('start_date')[:3],
+ 'events': upcoming_events.order_by('start_date')[:5],
'num_events': upcoming_events.count()
}
return render(request, template, data)

0 comments on commit a5956db

Please sign in to comment.