@login_required
def your_photos(request, template_name="photos/yourphotos.html"):
    
    group, bridge = group_and_bridge(request)
    
    photos = Image.objects.filter(member=request.user)
    
    if group:
        photos = group.content_objects(photos, join="pool", gfk_field="content_object")
    else:
        photos = photos.filter(pool__object_id=None)
    
    photos = photos.order_by("-date_added")
    
    ctx = group_context(group, bridge)
    ctx.update({
        "photos": photos,
    })
    
    return render_to_response(template_name, RequestContext(request, ctx))
photos for the currently authenticated user
dataset/ETHPy150Open amarandon/smeuhsocial/apps/photos/views.py/your_photos