'Initialize with raw_events as a list or QuerySet of Events'

def __init__(self, raw_events=None, start_hour=8, end_hour=22):

    if (raw_events is None):
        raw_events = []
    self.events = []
    for event in raw_events:
        wrapper = EventRenderer(event.name, event.start, event.end, reverse('events_event_view', args=[event.id]))
        self.events.append(wrapper)
    self.start_hour = start_hour
    self.end_hour = end_hour
