def read(self, request, title=None):
        base = Blogpost.objects
        
        if title:
            return base.get(title=title)
        else:
            return base.all()
Returns a blogpost, if `title` is given,
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-piston/examples/blogserver/api/handlers.py/BlogpostHandler.read