def event_to_fullcal(events_queryset):
    """
    Dumps a CalendarEvent queryset (including the uuid pk) to the JSON expected by FullCalendar
    """
    json = [
        {'start': o.start.strftime("%Y-%m-%dT%H:%M:%S"), 'end': o.end.strftime("%Y-%m-%dT%H:%M:%S"), 'id': str(o.id),
         'title': o.title} for o in events_queryset]
    return json