Commit 0c240866 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

increased amount of events on hompage to six

parent c7030ca1
......@@ -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