'Boost events'

def prepare(self, obj):

    data = super().prepare(obj)
    if obj.is_past:
        data['boost'] = 0.9
    elif obj.featured:
        data['boost'] = 1.2
    else:
        data['boost'] = 1.1
    return data
