def validate_response(self, request, resolver, response):
        if not response:
            view, = self.resolve_view(request, resolver)[:1]
            raise ValueError(
                "The view {module:s}.{name:s} didn't return an "
                "HttpResponse object.".format(
                    module=view.__module__,
                    name=view.__name__
                        if isinstance(view, types.FunctionType)
                        else view.__class__.__name__ + ".__call__"))
        return response
If the response is falsy, raise a ValueError complaining about the view
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/core/handlers/base.py/Handler.validate_response