Bonds and warrants of a district for an improvement district may be issued for any purpose for which bonds and warrants of the district may be issued; provided, that the carrying out of such purpose shall benefit the lands within such improvement district. Such bonds or warrants may be either general obligation bonds or warrants or revenue bonds.