substitute '%s' is "%s.process_response didn't return an HttpResponse object. It returned None instead.",
raise ValueError ( "%s.process_response didn't return an " "HttpResponse object. It returned None instead." % ( middleware_method . __self__ . __class__ . __name__ ) )