from django.shortcuts import render

from gameon.events.models import Event


def list(request, template='events/list.html'):
    """
    Display a list of events - until we have this functionality on webmaker.org
    """
    return render(request, template, {
        'events': Event.objects.get_upcoming().order_by('start_date'),
    })

364c901a4a57e59c1661344596a669d1383e8801
<mask token>

<mask token>


def list(request, template='events/list.html'):
    """
    Display a list of events - until we have this functionality on webmaker.org
    """
    return render(request, template, {'events': Event.objects.get_upcoming(
        ).order_by('start_date')})

from django.shortcuts import render
from gameon.events.models import Event


def list(request, template='events/list.html'):
    """
    Display a list of events - until we have this functionality on webmaker.org
    """
    return render(request, template, {'events': Event.objects.get_upcoming(
        ).order_by('start_date')})

from django.shortcuts import render

from gameon.events.models import Event


def list(request, template='events/list.html'):
    """
    Display a list of events - until we have this functionality on webmaker.org
    """
    return render(request, template, {
        'events': Event.objects.get_upcoming().order_by('start_date'),
    })
