Commit b3632291 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch '607-increase-events-on-homepage' into 'master'

Resolve "Increase the number of events on the homepage"

Closes #607

See merge request !756
parents c7030ca1 0c240866
......@@ -19,11 +19,11 @@ def show_cards(context):
'event': x,
'current_user_registration': services.is_user_registered(
context['user'], x),
} for x in upcoming_events[:4]]
} for x in upcoming_events[:6]]
except AttributeError:
upcoming = [{
'event': x,
'current_user_registration': None
} for x in upcoming_events[:4]]
} for x in upcoming_events[:6]]
return {'upcoming': upcoming}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment