def METHOD_NAME(context, viewname, *args, **kwargs):
    """webcal URL for a view"""
    return 'webcal://{}{}'.format(
        context.request.get_host(),
        reverse(viewname, args=args, kwargs=kwargs)
    )