def process_response(self, request, response): if self.can(request): self.profiler.create_stats()