Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit a5956db232e644d829d16ec0fded89da9079a0af 1 parent e587b9d
@rossbruniges rossbruniges authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gameon/static_site/views.py
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.