(request, username)
return render(
        request,
        'actstream/actor.html',
        context={
            'ctype': ContentType.objects.get_for_model(USER_MODEL),
            'actor': instance, 'action_list': models.user_stream(instance)
        }
    )
``User`` focused activity stream. (Eg: Profile page twitter.com/justquick)
``User`` focused activity stream. (Eg: Profile page twitter.com/justquick)
User focused activity stream . ( Eg : Profile page twitter . com / justquick )
def user(request, username):
    """
    ``User`` focused activity stream. (Eg: Profile page twitter.com/justquick)
    """
    instance = get_object_or_404(
        USER_MODEL,
        **{'is_active': True, username_field: username}
    )
    return render(
        request,
        'actstream/actor.html',
        context={
            'ctype': ContentType.objects.get_for_model(USER_MODEL),
            'actor': instance, 'action_list': models.user_stream(instance)
        }
    )
def user ( request , username ) : instance = get_object_or_404 ( USER_MODEL , * * { 'is_active' : True , username_field : username } ) return render ( request , 'actstream/actor.html' , context = { 'ctype' : ContentType . objects . get_for_model ( USER_MODEL ) , 'actor' : instance , 'action_list' : models . user_stream ( instance ) } )