def following(request, user_id, flag=None):
    """
    Returns a list of actors that the user identified by ``user_id``
    is following (eg who im following).
    """
    instance = get_object_or_404(USER_MODEL, pk=user_id)
    flag = flag or ''
    return render(
        request,
        'actstream/following.html',
        {
            'following': models.following(instance, flag=flag),
            'user': instance,
        }
    )

    Returns a list of actors that the user identified by ``user_id``
    is following (eg who im following).
    
actstream/views.py