Twelve people were killed and nine injured in a shooting in an informal settlement in Cleveland, Johannesburg.