

def queryset(self, request):
    queryset = super(ItemAdmin, self).queryset(request)
    if (not request.user.is_superuser):
        queryset = queryset.filter(feed__lifestream__user=request.user)
    return queryset

dataset/ETHPy150Open IanLewis/django-lifestream/lifestream/admin.py ItemAdmin.queryset/original