Taxes for the payment of a bonded debt and the interest thereon shall be a lien on all the property benefited thereby as stated in the resolution of the board declaring the necessity to incur the debt. All taxes for other purposes of the district shall be a lien on all the property in the district subject to the particular tax.