def user_flags(request, username, slug, template_name='flagging/flag_list.html'):
    user = get_object_or_404(User, username=username)
    flag_type = get_object_or_404(FlagType, slug=slug)
    flag_list = Flag.objects.filter(user=user, flag_type=flag_type)
    return render_to_response(template_name, {
        'person': user,
        'flag_type': flag_type,
        'flag_list': flag_list
    }, context_instance=RequestContext(request))
Returns a list of flagged items for a particular user.
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/flagging/views.py/user_flags