if len(context.products) == 1:
    return render_to_response('oneproduct.mako', opts, request)
if len(context.products) == 2:
    pass
In Pyramid, how can I use a different renderer based on contents of context?