def setup_request(self, request):
    request.user = self.user
    request.session = self.request.session
    return request
def setup_request(self, request):
    request.user = self.user
    request.session = self.request.session
    return request